[gdal-dev] Executing a query getting null layer

Even Rouault even.rouault at spatialys.com
Wed Mar 22 07:04:54 PDT 2017


On mercredi 22 mars 2017 13:58:52 CET Ahmed Tolba wrote:
> My data is in mapserver database which is PostGres PostGIS. What's the
> equivalent function for st_linefrommultipoint ?

Ah ok just put NULL for the dialect argument in that case. This will evaluate the query on 
Postgres side.

 
> -----Original Message-----
> From: gdal-dev [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of
> jratike80
 Sent: Wednesday, March 22, 2017 2:40 PM
> To: gdal-dev at lists.osgeo.org
> Subject: Re: [gdal-dev] Executing a query getting null layer
> 
> andreahmed wrote
> 
> > I replaced OGRSQL with SQLite, It says now
> > 
> > No such function: st_linefrommultipoint
> 
> 
> That's no wonder because SpatiaLite does not have such function
> https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html.
 
> Where do you have your data? Are they in PostGIS which has a native support
> for http://postgis.net/docs/ST_LineFromMultiPoint.html?
 
> -Jukka Rahkonen.-
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/gdal-dev-Executing-a-query-getting-null
> -layer-tp5313639p5313646.html
 Sent from the GDAL - Dev mailing list archive
> at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170322/4ef1a457/attachment.html>


More information about the gdal-dev mailing list