[Geoserver-users] WFS Extracted Shapefile Field Format

Hi,

In Geoserver, is there a way to configure the field format (in particular the length) of the shapefile extracted by WFS? Currently the length of the text field is defaulted to be 254 and the numeric fields such as Double is defaulted to be 32 in precision and 31 in scale. This is fine when the extracted shapefile contains only small amount of features but as the number of features increases the shapefile size grows and the extract speed slows down so it would be nice if I can reduce the default length of the text field.

I am using GeoServer 2.1.3.

Thanks,
Chenglin

On Tue, Mar 5, 2013 at 5:06 PM, Chenglin Gan - NOAA Affiliate <chenglin.gan@anonymised.com> wrote:

Hi,

In Geoserver, is there a way to configure the field format (in particular the length) of the shapefile extracted by WFS? Currently the length of the text field is defaulted to be 254 and the numeric fields such as Double is defaulted to be 32 in precision and 31 in scale. This is fine when the extracted shapefile contains only small amount of features but as the number of features increases the shapefile size grows and the extract speed slows down so it would be nice if I can reduce the default length of the text field.

No, at the moment it’s not configurable

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it