Good morning Andrea,
I tested again this morning using
geoserver-trunk-latest-war.zip<http://gridlock.opengeo.org/geoserver/trunk/geoserver-trunk-latest-war.zip>27-Oct-2010
03:38 48M
and it behaved differently, but still did not work. Note that I am testing
with the standard GeoServer test data, and the standard test request in the
test servlet:

*WFS_GetFeatureIntersects-1.1.xml* (with the small change of outputFormat):

*<wfs:GetFeature service="WFS" version="1.1.0" outputFormat="OGR-KML"*

So it should be very easy for you to reproduce. This time, instead of a zip
file, I got this message in the TestServlet:

<ows:ExceptionReport version="1.0.0" xsi:schemaLocation="
http://www.opengis.net/ows
http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";>
-
<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.41528089692943637\states.kml,
C:\Users\roger\Downloads\apache-tomcat-6.0.29-windows-x64\apache-tomcat-6.0.29\temp\ogrtmpin0.16471746140930266\states.gml]
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>

So, is still broken I think.

Roger

On Wed, Oct 27, 2010 at 6:48 PM, Andrea Aime
<[email protected]>wrote:

> On Wed, Oct 27, 2010 at 3:25 PM, Roger Bedell <[email protected]>
> wrote:
> > Hopefully this has been fixed, I was unable to test the latest nightly.
>
> The latest nightly builds are working, I've tested them a few days ago
> (at least with
> my own test data, the failure might be data dependent).
> Actually, with the latest builds you can also configure KML to be generated
> straight out without being zipped.
>
> See the "singleFile" option in the docs:
> http://docs.geoserver.org/stable/en/user/extensions/ogr.html
>
> Long story short, I'd suggest you grab the latest nightly build and
> double check.
> If that does not work either please also include the full stack trace from
> the geoserver log.
>
> Cheers
> Andrea
>
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax:     +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
------------------------------------------------------------------------------
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