# How to fix Graphserver warning “osmdb has no edges!”?

I'm really new to GIS.

I have some shapefiles data that I'm trying to import in graphserver. I'm doing:

gs_osmdb_compile output3.osm output3.osmdb


And the result is: WARNING: osmdb has no edges!.

I'm using a shapefile that may not be ready for import. I'm converting it to OSM, then I'm trying to import it using gs_osmdb_compile. I guess they are related to the v.net function in GRASS, but I'm not sure to understand what should be the end result.

Thank you very much!

-
"Compile the OSM file into an OSMDB file, and then load that OSMDB file into a graph." ie shapefiles are not supported by graphserver osm files are. Then convert to osmdb –  Mapperz Oct 6 '11 at 13:38
@Mapperz : sorry, I forgot to mention that I already converted my shapefile to an OSM (thanks to ogr2osm). –  charlax Oct 6 '11 at 17:07