GeoWolf, I've been trying to do this without success. Simple kml file:
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd"> <Placemark> <name>test</name> <LineString> <coordinates>-11310111.782622844,4001386.6167203914 -5283204.9763932675,3883979.3412743607</coordinates> </LineString> </Placemark> </kml> Using GeoServer Importer (same version as GepServer) and I've confirmed Importer is working correctly by both using the interface to import shapefiles and using the REST API to import a shapefile directory - all that works. So, in importer choosing the file, specifying an existing workspace and an existing shapefile datastore, selecting next and the kml file shows-up in "Recent Imports" as expected. Selecting the import and going to the "Import #", seeing the layer, selecting the layer and choosing import and I get this error: java.io.IOException: Schema 'example' does not exist. at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:621) at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:393) at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:376) at org.geotools.data.store.ContentDataStore.ensureFeatureStore(ContentDataStore.java:457) at org.geotools.data.store.ContentDataStore.getFeatureWriterAppend(ContentDataStore.java:489) at org.geoserver.importer.Importer.loadIntoDataStore(Importer.java:1248) at org.geoserver.importer.Importer.doIndirectImport(Importer.java:991) at org.geoserver.importer.Importer.run(Importer.java:852) at org.geoserver.importer.Importer.run(Importer.java:802) at org.geoserver.importer.Importer$5.call(Importer.java:881) at org.geoserver.importer.Importer$5.call(Importer.java:875) at org.geoserver.importer.job.Job.call(Job.java:16) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Can't find anything anywhere on the internet that tells me what's wrong. I believe I'm following the right procedure? I've tried creating a new workspace with a new datastore, a workspace with a new but empty shapefile datastore, and an existing workspace with a new datastore - all no good. Help? mabus00 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Publishing-KML-via-Geoserver-tp5230033p5295325.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
