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[ &amp; quot;WGS 84 &amp; quot;, &#xd;
DATUM[ &amp; quot;World Geodetic System 1984 &amp; quot;, &#xd;SPHEROID[
&amp; quot;WGS 84 &amp; quot;, 6378137.0, 298.257223563, AUTHORITY[ &amp;
quot;EPSG &amp; quot;,&amp; quot;7030 &amp; quot;]], &#xd; AUTHORITY[ &amp;
quot;EPSG &amp; quot;, &amp; quot;6326 &amp; quot;]],&#xd; PRIMEM[ &amp;
quot;Greenwich &amp; quot;, 0.0, AUTHORITY[ &amp; quot;EPSG &amp; quot;,
&amp; quot;8901&amp; quot;]], &#xd; UNIT[ &amp; quot;degree &amp; quot;,
0.017453292519943295], &#xd; AXIS[ &amp;quot;Geodetic latitude &amp; quot;,
NORTH], &#xd; AXIS[ &amp; quot;Geodetic longitude &amp; quot;, EAST],&#xd;
AUTHORITY[ &amp; quot;EPSG &amp; quot;, &amp; quot;4326 &amp; 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 &amp; apos; with the following drivers.
 - &amp; gt; ESRI Shapefile
 - &amp; gt; MapInfo File
 - &amp; gt; UK .NTF
 - &amp; gt; SDTS
 - &amp; gt; TIGER
 - &amp; gt; S57
 - &amp; gt; DGN
 - &amp; gt; VRT
 - &amp; gt; REC
 - &amp; gt; Memory
 - &amp; gt; BNA
 - &amp; gt; CSV
 - &amp; gt; NAS
 - &amp; gt; GML
 - &amp; gt; GPX
 - &amp; gt; KML
 - &amp; gt; GeoJSON
 - &amp; gt; Interlis 1
 - &amp; gt; Interlis 2
 - &amp; gt; GMT
 - &amp; gt; SQLite
 - &amp; gt; ODBC
 - &amp; gt; PGeo
 - &amp; gt; OGDI
 - &amp; gt; PostgreSQL
 - &amp; gt; MySQL
 - &amp; gt; XPlane
 - &amp; gt; AVCBin
 - &amp; gt; AVCE00
 - &amp; gt; DXF
 - &amp; gt; Geoconcept
 - &amp; gt; GeoRSS
 - &amp; gt; GPSTrackMaker
 - &amp; 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

Reply via email to