You can use the legacy.sql script which should be packaged with most 
distributions in the contrib folder – I think we still package it.

Though fewer and fewer people use it so let us know if you run into issues with 
it or you can’t find it in your distribution.

 

Now as to

 

geometrytype(shapepoint)

 

geometrytype(shapepointplanar)

 

We have never had such types – we did and still have geometrytype(geometry)

 

So your above might come from some other package you had  like possibly ArcSDE.

 

From: postgis-users [mailto:[email protected]] On Behalf Of 
Darafei "Kom?pa" Praliaskouski
Sent: Tuesday, August 18, 2020 3:31 PM
To: PostGIS Users Discussion <[email protected]>
Subject: Re: [postgis-users] PostGIS 1.5 -> 2.4 compatibility

 

Hello,

 

Please note 2.4 is not the latest version, 3.0 is.

 

You're expected to add ST_ prefix to all the functions to find their modern 
name. ST_SRID, ST_GeometryType in your example.

 

 

On Tue, Aug 18, 2020 at 10:26 PM S Bob <[email protected] 
<mailto:[email protected]> > wrote:

All;


We are upgrading from postgis 1.5 -> 2.4


Is there a compat module that will provide for the missing functionality 
listed below:


srid(geometry) is missing

geometrytype(shapepoint) is missing

geometrytype(shapepointplanar) is missing


Or is there an alternate for these functions in 2.4?


Thanks

_______________________________________________
postgis-users mailing list
[email protected] <mailto:[email protected]> 
https://lists.osgeo.org/mailman/listinfo/postgis-users




 

-- 

Darafei Praliaskouski

Support me: http://patreon.com/komzpa

_______________________________________________
postgis-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to