On Sat, Feb 12, 2011 at 5:48 PM, Andrea Aime
<[email protected]> wrote:
>> Note that the usual outputFormat="shape-zip" also works fine, the zip
>> problem just seems to be inside the OGR2OGR extension.
>
> Reproduced and fixed for 2.1-RC2: http://jira.codehaus.org/browse/GEOS-4374

Ah, forgot one thing, the proper way to declare a single file format that will
be zipped is:

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

The file extension is the one that will be generated by ogr2ogr, the mime type
is not necessary since the output is going to be a zip file

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to