Hi again,

This time, it seems the zip file coming back from the ogr2ogr output is
unreadable. This is on a 64 bit Win2008 server, 64 bit JDK, latest nightly
build.

I tested this using this request against our server (you can try it too!):

http://204.62.18.181:8080/geoserver/wfs

<wfs:GetFeature service="WFS" version="1.1.0" outputFormat="OGR-KML-ZIP"
xmlns:ogi="http://ogi.state.ok.us"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.opengis.net/wfs  http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";
xmlns:ogc="http://www.opengis.net/ogc"; xmlns:wfs="http://www.opengis.net/wfs";
xmlns:gml="http://www.opengis.net/gml";>
  <wfs:Query typeName="ogi:sections" srsName="urn:x-ogc:def:crs:EPSG:2267">
    <ogc:Filter>
      <ogc:Intersects>
        <ogc:PropertyName>the_geom</ogc:PropertyName>
        <gml:Polygon srsName="urn:x-ogc:def:crs:EPSG:4326" xmlns:gml="
http://www.opengis.net/gml";>
          <gml:exterior>
            <gml:LinearRing>
              <gml:posList> 36.129833547944 -97.739353179937 36.129833547944
-97.620220184329 36.188044089569 -97.620220184329 36.188044089569
-97.739353179937 36.129833547944 -97.739353179937</gml:posList>
            </gml:LinearRing>
          </gml:exterior>
        </gml:Polygon>
      </ogc:Intersects>
    </ogc:Filter>
  </wfs:Query>
 </wfs:GetFeature>

and again, this time using  outputFormat="OGR-KML".

In the ogr2ogr.xml I have:

    <Format>
      <ogrFormat>KML</ogrFormat>
      <formatName>OGR-KML-ZIP</formatName>
      <fileExtension>.kml</fileExtension>
    </Format>
    <Format>
      <ogrFormat>KML</ogrFormat>
      <formatName>OGR-KML</formatName>
      <fileExtension>.kml</fileExtension>
      <singleFile>true</singleFile>
    </Format>

No errors in the log. Any ideas?

Thanks!
Roger
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to