Hi there,
Is there any trick to avoid creating field names with reserved words? For
example, a DBF from a shapefile can have field names like "long" and other
formats may not like it.
Regards,
Ivan
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
h
Hi Ivan,
>
> Is there any trick to avoid creating field names with reserved words? For
> example, a DBF from a shapefile can have field names like "long" and other
> formats may not like it.
It is up to the output driver to do whatever sanitizing it requires. This is
already done in a lot of driv
Thanks Even. Very good answer as always.
> ---Original Message---
> From: Even Rouault
> To: Ivan Lucena
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] ogr2ogr and reserved words
> Sent: Jul 13 '12 08:41
>
> Hi Ivan,
>
> >
>
Ivan Lucena princeton-ma.us> writes:
>
> Hi there,
>
> Is there any trick to avoid creating field names with reserved words? For
example, a DBF from a shapefile can
> have field names like "long" and other formats may not like it.
Just remembered another example: having an attribute named "ROW
Selon Jukka Rahkonen :
> Ivan Lucena princeton-ma.us> writes:
>
> >
> > Hi there,
> >
> > Is there any trick to avoid creating field names with reserved words? For
> example, a DBF from a shapefile can
> > have field names like "long" and other formats may not like it.
>
> Just remembered another
Even Rouault wrote:
Selon Jukka Rahkonen :
>> Ivan Lucena princeton-ma.us> writes:
>>
>> >
>> > Hi there,
>> >
>> > Is there any trick to avoid creating field names with reserved words? For
>> example, a DBF from a shapefile can
>> > have field names like "long" and other formats may not like it.