[GRASS-dev] [GRASS GIS] #2584: Vectors skipping columns (character limit !!!) while exporting to OGR data

Paulo van Breugel p.vanbreugel at gmail.com
Thu Feb 12 11:20:38 PST 2015


On Thu, Feb 12, 2015 at 6:58 PM, Markus Neteler <neteler at osgeo.org> wrote:

> On Wed, Feb 11, 2015 at 12:32 PM, Luca Delucchi <lucadeluge at gmail.com>
> wrote:
> > On 10 February 2015 at 18:58, Newcomb, Doug <doug_newcomb at fws.gov>
> wrote:
> >> The shape file format has a 10 character limit on field name length.
> The
> >> smallest field name I see above is 11.
> ...
> > Yes, but If I remember well v.out.ogr was cutting the field name
> > length more then 10. Am I wrong?
>


I also seem to remember that before v.out.ogr would export all columns,
even if they had field names of more than 10 characters. In those cases it
would simply use the first 10 characters as column name. Or am I confusing
this with other software I have used in the past? I think it would in any
case be better to export those fields with truncated field names than to
skip them.




> > Otherwise we could add this feature..
>
> What do you mean, Luca?
>
> We might use the new parser abbreviator here
>
> E.g. 'int_percentile_90' --> 'ip90'
>
> :-)
>
> Markus
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150212/27a55fc8/attachment.html>


More information about the grass-dev mailing list