3

I am a newbie to GIS platforms so maybe whatever I am asking is very simple or obvious. I have read documentation/tutorials and as a last resort I am posting here, so any help is appreciated. I am not asking for code per se just point me to the right direction.

I am trying to create an Indoor Map application, I have installed PostGIS and pgRouting on the server. Now, I am not sure what is the easy way to add nodes and ways to the database because in every tutorial/documentation that I came across, people are using OSM data. For me, there is no OSM data. Can somebody explain how can we insert node & ways to database so that pgRouting can work.

Thanks.

5

1 Answer 1

1

You just create your own network topology. In this case you take your indoor plan, draw network on it and use it instead of OSM data.

2
  • Thats what I am trying to do. But don't understand how to create nodes and ways in postgres. Any tutorials/documentation to which you can direct me to ? Thanks. Commented Jan 28, 2013 at 14:38
  • pgrouting.org/docs/howto/topology.html , assign_vertex_id(table_name, snapping_range, geometry_column_name, edge_id_column_name); it calculates topology using only start and end points sp_assign_vertex Commented Jan 29, 2013 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.