newbie problem with gs_osmdb_compile

38 views
Skip to first unread message

Jay Remee

unread,
Oct 4, 2011, 11:41:20 PM10/4/11
to Graphserver
Hello,

I am trying to convert a shapefile into something useable in
graphserver.

I converted the .shp in .osm with no issue using ogr2osm. The file has
nodes and ways.

However, when I try the following: gs_osmdb_compile merged.osm
merged.osmdb

it says:
gs_osmdb_compile merged.osm
merged.osmdb
importing merged.osm osm from XML to sqlite database
node 0
way 0
done
indexing primary tables... counting end-node references to find way
split-points
...counting
...updating nodes table
indexing endpoint nodes into rtree
splitting ways and inserting into edge table
indexing edges... done
WARNING: osmdb has no edges!


It is as if nothing happens: gs_import_osm merged.gdb merged.osmdb


slog values: {}
importing osmdb 'merged.osmdb' into graphdb 'merged.gdb'
indexing vertices...
done

gs_gdb_inspect merged.gdb
vertices:
resources:


Could you please help me see what I am doing wrong?

Thanks
Reply all
Reply to author
Forward
0 new messages