Hopefully this has been fixed, I was unable to test the latest nightly.
To reproduce, set up the OGR2OGR Output Extension as usual in 2.1 Beta 1
(BTW, it is also broken in 2.02, works in 1.7.6).
Select the WFS_GetFeatureIntersects-1.1.xml Demo Request. Run it, it works
fine.
Next, add this outputformat: outputFormat="OGR-KML"
to the first line of the XML. It will look like this:
<wfs:GetFeature service="WFS" version="1.1.0" outputFormat="OGR-KML"
Run it, and you will get a zip file, but it is really an XML file. Change
the extenstion to .XML and you will see this error:
<? xml version = " 1.0 " encoding = " UTF-8 " ?>
< ows:ExceptionReport version = " 1.0.0 "
xsi:schemaLocation = " http://www.opengis.net/ows
http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd "
xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:ows = "
http://www.opengis.net/ows " >
< ows:Exception exceptionCode = " NoApplicableCode " >
< ows:ExceptionText > Exception occurred during output generation
ogr2ogr did not terminate successfully, exit code 1. Was trying to run:
[ogr2ogr, -f, KML, -a_srs, GEOGCS[ & quot;WGS 84 & quot;, 
DATUM[ & quot;World Geodetic System 1984 & quot;, 
SPHEROID[
& quot;WGS 84 & quot;, 6378137.0, 298.257223563, AUTHORITY[ &
quot;EPSG & quot;,& quot;7030 & quot;]], 
 AUTHORITY[ &
quot;EPSG & quot;, & quot;6326 & quot;]],
 PRIMEM[ &
quot;Greenwich & quot;, 0.0, AUTHORITY[ & quot;EPSG & quot;,
& quot;8901& quot;]], 
 UNIT[ & quot;degree & quot;,
0.017453292519943295], 
 AXIS[ &quot;Geodetic latitude & quot;,
NORTH], 
 AXIS[ & quot;Geodetic longitude & quot;, EAST],
AUTHORITY[ & quot;EPSG & quot;, & quot;4326 & quot;]],
C:\Users\roger\Downloads\apache-tomcat-6.0.29-windows-x64\apache-tomcat-6.0.29\temp\ogrtmpout0.5695982158049732\states.kml,
C:\Users\roger\Downloads\apache-tomcat-6.0.29-windows-x64\apache-tomcat-6.0.29\temp\ogrtmpin0.03150558657862046\states.shp]
Resulted in:
FAILURE:
Unable to open datasource `Geodetic & apos; with the following drivers.
- & gt; ESRI Shapefile
- & gt; MapInfo File
- & gt; UK .NTF
- & gt; SDTS
- & gt; TIGER
- & gt; S57
- & gt; DGN
- & gt; VRT
- & gt; REC
- & gt; Memory
- & gt; BNA
- & gt; CSV
- & gt; NAS
- & gt; GML
- & gt; GPX
- & gt; KML
- & gt; GeoJSON
- & gt; Interlis 1
- & gt; Interlis 2
- & gt; GMT
- & gt; SQLite
- & gt; ODBC
- & gt; PGeo
- & gt; OGDI
- & gt; PostgreSQL
- & gt; MySQL
- & gt; XPlane
- & gt; AVCBin
- & gt; AVCE00
- & gt; DXF
- & gt; Geoconcept
- & gt; GeoRSS
- & gt; GPSTrackMaker
- & gt; VFK </ ows:ExceptionText >
</ ows:Exception >
</ ows:ExceptionReport >
With this in the log:
FAILURE:
Unable to open datasource `Geodetic' with the following drivers.
-> ESRI Shapefile
-> MapInfo File
-> UK .NTF
-> SDTS
-> TIGER
-> S57
-> DGN
-> VRT
Thanks!
Roger
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users