GeoKnow / LinkedGeoData

OpenStreetMap for the Semantic Web
http://linkedgeodata.org
GNU General Public License v3.0
133 stars 32 forks source link

update db form planet file #19

Closed normansuesstrunk closed 2 years ago

normansuesstrunk commented 8 years ago

I deployed the lgd project on a linux machine and imported the swiss planet file. I now wondered if i can update the db without deleting and reimporting the complete planet file?

many thanks, Norman

almereyda commented 8 years ago

You could have a look at the 2012 paper at http://linkedgeodata.org/Publications to get an idea of the overall architecture.

Aklakan commented 8 years ago

The LGD database uses the OSM simple schema as the base and adds additional tables with mappings and interlinks to it. Hence, its a pure OSM database so that you can use the osmosis tool to apply diffs published by OSM. See the options at http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.44 - especially --read-replication-interval-init and --write-pgsql-change.