[gdal-dev] Error from GDAL/Ogr creating StatialReference on web app under windows

Paul Harwood runette at gmail.com
Fri Mar 12 07:55:28 PST 2021


I have got that before when using the wrong version of the proj.db for the
version of PROJ I am using - and if I remember correctly there is a PROJ
version update in 3.2.1

Have you checked you have the correct version of proj.db

On Fri, 12 Mar 2021 at 14:59, Ove Lindholt Hansen <olh at geosite.dk> wrote:

> Hello List.
>
> I just ran into a problem.
> I am using GDAL/Ogr from my web application.
>
> I just upgraded to 3.2.1 using the fine installer
> gdal-302-1928-x64-core.msi from gisinternals.
>
> Initalisation of the ogr works fine, as it used to.
> But creating spatial reference gives a strange error.
>
> See code her:
>
> var CRSInput = new SpatialReference("");
> CRSInput.ImportFromEPSGA(25832);
>
>
> The error I get is this:
>
> SQLite error on SELECT name, coordinate_system_auth_name,
> coordinate_system_code, geodetic_crs_auth_name, geodetic_crs_code,
> conversion_auth_name, conversion_code, area_of_use_auth_name,
> area_of_use_code, text_definition, deprecated FROM projected_crs WHERE
> auth_name = ? AND code = ?: no such column: area_of_use_auth_name
>
>
>
> --
> Venlig hilsen
>
> Ove Lindholt Hansen
> GeoSite
> T: 40916223
> A: Solmarksvej 20, DK8240 Risskov
> Læs om GIS4Mobile's nye LedningsInfo
> <https://www.gis4mobile.dk/produkter/ledningsinfo-entreprenoerer/>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210312/69c383c7/attachment.html>


More information about the gdal-dev mailing list