[gdal-dev] Q: GFS Type for int64/bigint?
Just van den Broecke
justb4 at gmail.com
Fri Feb 28 04:51:48 PST 2020
Hi Even, Aha, thanks for quick reply! Best, Just
On 28-02-20 13:45, Even Rouault wrote:
> Just,
>
>> I use ogr2ogr (GML to PG) with a .gfs file with Type specs. I need to
>> map a GML integer value to eventually a BigInt in PostgreSQL. I see
>> String, Integer, Real etc. "Integer" maps to "integer" type in
>> PostgreSQL but I need to map to a PG BigInt.
>>
>> What Type do I need to specify in the .gfs file?
>
> Use
> <Type>Integer</Type>
> <SubType>Integer64</SubType>
>
> See
> https://github.com/OSGeo/gdal/blob/7f942653f570f3e99cf0273e979272190cc6c312/gdal/data/ruian_vf_v1.gfs#L60
>
> Even
>
More information about the gdal-dev
mailing list