Uploading KML/KMZ into Geoserver

2,249 views
Skip to first unread message

Simon

unread,
Apr 11, 2012, 9:23:28 AM4/11/12
to OpenQuake Developers
In the Earthquake Consequences Database we are assuming all map layers
will be served out by Geoserver. To keep things simple we are trying
to say that maps can only be drawn if the layers come out of
Geoserver. However we are getting some users who have map data in KMZ
files. These users don't like it if I tell them to go away and get
their data in another format! Is there any way of loading KML/KMZ data
into PostGIS/Geoserver?

Jeffrey Johnson

unread,
Apr 11, 2012, 9:26:02 AM4/11/12
to openqu...@googlegroups.com
Hi Simon,

The most straightforward way is to use ogr2ogr to transform it
directly into the PostGIS DB, or into an intermediate format that can
then be loaded normally.

http://www.gdal.org/ogr2ogr.html

Let me know if that works.

Jeff

Reply all
Reply to author
Forward
0 new messages