Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I installed gisgraphy and looked at the data importer wizard -- it only has two options: Import Geonames and/or Import OpenStreetMap.

I want to make Gisgraphy work with shapefiles. Since Gisgraphy uses PostGIS I was wondering; Is there a way to import shapefiles into PostGres/PostGIS directly and have it work with Gisgraphy?

share|improve this question
    
A simple internet search brings up many hits on how to import shapefiles into PostGIS. –  artwork21 Mar 5 '13 at 16:39
add comment

1 Answer

up vote 2 down vote accepted

Shape files schema are all differents. You first have to convert your .shp in a sql files, import it and then export it to the gisgraphy format. It can be a simple insert into Gisgraphy table (select fields1, fields2 from shptable).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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