GithubHelp home page GithubHelp logo

maproutingdemo's Introduction

MapRoutingDemo

一个基于pGrouting实现最短路径规划的示例,使用到的开源工具geoserver、postgressql、postgis、pGrouting,pgsql的数据访问使用Npgsql

根据起止点坐标找到起止导航的坐标点,虚线为无路网导航,红色线为基于路网的导航

使用pGrouting的坑

1、必须通过拓扑打断相交线,一般使用Arcgis工具,见https://www.cnblogs.com/gotoschool/p/6371104.html

2、通过PostGISShapefile 导入shp空间数据必须勾选简单类型,如果导入的是muti类型,拓扑网点将计算失败

详见博客文章:

http://www.cnblogs.com/weiweictgu/p/8280285.html

最终实现的效果见:

运行效果

参考http://blog.csdn.net/u014529917/article/details/72866436?from=singlemessage

http://www.npgsql.org/

maproutingdemo's People

Contributors

wilsonfu88 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.