Hi Alex,
There was another post a few days ago asking something similar. From that
it doesn't look like GeoServer can currently do this, though it would
certainly make sense for the filesize reason.

Jonathan


On 7 March 2013 00:31, Alex Leith <[email protected]> wrote:

> Hi all
>
> If I download a shapefile using a link like this:  WFS export link
> <
> http://maps.gcc.tas.gov.au:8080/geoserver/GCC_cc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=GCC_cc%3ABuildings&maxfeatures=50&outputformat=SHAPE-ZIP
> >
> the resulting shapefile has a huge DBF file associated with it. This is due
> to white space padding for 255 length char fields.
>
> Is this an issue that only I am having, or is it a GeoServer problem? I can
> export the same file using org2ogr on the server, and it results in a
> shapefile with char field lengths which are the same as the PostGIS table
> backing it.
>
> Regards,
>
> Alex
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/WFS-Data-Export-to-SHP-from-GeoServer-Results-in-Long-Char-Attributes-tp5038895.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> ________________________
_______________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to