[Gfoss] ST_OffsetCurve

Tra parentesi, la MakeLine (e le MakePoint, MakePoly*) sono figlie mie…
… piezz’e’core :slight_smile:

x Sandro Santilli, complimenti per le figlie!

ma… visto che allora sono in gioco, per la creazione dei marciapiedi, ho sentito il bisogno di ST_OffsetCurve che all’esucuzione della query di prova in pgadmin mi da errore.

QUERY:


SELECT ST_AsText(ST_OffsetCurve(ST_GeomFromText(
'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,
	44 16,24 16,20 16,18 16,17 17,
	16 18,16 20,16 40,16 60,16 80,16 100,
	16 120,16 140,16 160,16 180,16 195)'),
	15, 'quad_segs=4 join=round'));

presa da: http://postgis.refractions.net/documentation/manual-svn/ST_OffsetCurve.html

ERRORE:

ERROR: function st_offsetcurve(geometry, integer, unknown) does not exist
RIGA 1: SELECT ST_AsText(ST_OffsetCurve(ST_GeomFromText(
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.

********** Errore **********

ERROR: function st_offsetcurve(geometry, integer, unknown) does not exist
Stato SQL: 42883
Suggerimento: No function matches the given name and argument types. You might need to add explicit type casts.
Carattere: 18

Ho l’impressione che non sappia che ST_OffsetCurve sia una funzione, quindi ho controllato le versione delle mie installazioni: Postgis 1.5.2.2, Postgresql 8.4.8, libgeos 3.2.0 e 3.2.2 (uso il PPA di Launchpad UbuntuGis)

Cosa faccio?

il boom dei dati geografici è in corso, aspettiamoci quello delle informazioni spaziali
#Local Intelligent Marketing#

Simply from Android