[Gfoss] ST_OffsetCurve

Sandro Santilli strk a keybit.net
Sab 24 Set 2011 17:40:09 CEST


Ti serve la 2.0. Non e' un upgrade facile, ci vuole un dump/reload se vuoi
tenere i dati.
Se ci vuoi passare il weekend fai sapere che problemi hai avuto a
compilarlo.
Perche' tu _vuoi_ compilarlo, altrimenti non sarebbe un weekend abbastanza
divertente :)

Trattami bene la OffsetCurve che e' un'altra figlia ;)

--strk;

Free GIS & Flash consultant/developer
http://strk.keybit.net/services.html

2011/9/24 PJ Hooker <lima.cityplanner a gmail.com>

> Ho capito una cosa... *non ho la funzione*, come immaginavo e quindi ho
> tentato di capire se è colpa di un mio aggiornamento oppure no...
>
> insomma sto cercando di aggiungere la funzione, visto che ho verificato in
> pgadmin che non è nell'elenco, tramite quello che ho capito di questo post:
> http://trac.osgeo.org/postgis/ticket/413
> che spiega di una patch *by rafalmag *
> *
> *
> di cui non riesco a capire come usare gli Attachments:
>
> postgis-1.5.0-RafalMagda.patch<http://trac.osgeo.org/postgis/attachment/ticket/413/postgis-1.5.0-RafalMagda.patch>
>>  [image: Download]<http://trac.osgeo.org/postgis/raw-attachment/ticket/413/postgis-1.5.0-RafalMagda.patch>
>>  (5.2 KB) - added by *rafalmag* 20 months<http://trac.osgeo.org/postgis/timeline?from=2010-02-09T16%3A00%3A50-0800&precision=second>
>>  ago.
>> Usage: tar xvfz postgis-1.5.0.tar.gz && patch -p0 < postgis-1.5.0-
>> RafalMagda?.patch
>> postgis-offsetCurve-RafalMagda.patch<http://trac.osgeo.org/postgis/attachment/ticket/413/postgis-offsetCurve-RafalMagda.patch>
>>  [image: Download]<http://trac.osgeo.org/postgis/raw-attachment/ticket/413/postgis-offsetCurve-RafalMagda.patch>
>>  (6.4 KB) - added by *rafalmag* 19 months<http://trac.osgeo.org/postgis/timeline?from=2010-03-09T12%3A12%3A10-0800&precision=second>
>>  ago.
>> usage: svn co  http://svn.osgeo.org/postgis/trunk/<http://svn.osgeo.org/postgis/trunk/> -r
>> 5389 && patch -p0 < postgis-offsetCurve-RafalMagda?.patch
>> postgres_geos_OffsetCurve_stacktrace-20110510.txt<http://trac.osgeo.org/postgis/attachment/ticket/413/postgres_geos_OffsetCurve_stacktrace-20110510.txt>
>>  [image: Download]<http://trac.osgeo.org/postgis/raw-attachment/ticket/413/postgres_geos_OffsetCurve_stacktrace-20110510.txt>
>>  (21.5 KB) - added by *sholl* 5 months<http://trac.osgeo.org/postgis/timeline?from=2011-05-10T03%3A30%3A42-0700&precision=second>
>> ago.
>> Stacktrace for comment28 of a segfaulting postgres-backend.
>
>
> ma come si fa per tabelle, viste, spatial_rel, ecc... sono in cerca di fare
> l'add function così ho trovato:
>
> http://trac.osgeo.org/postgis/attachment/ticket/413/postgis-offsetCurve-RafalMagda.patch
> che in fondo alla pagina incomincia ad indicarmi del testo per fare add
> function
>
> -- Availability: 2.0.0 - requires GEOS-3.2 or higher
>> CREATE OR REPLACE FUNCTION
>> _ST_OffsetCurve(geometry,float8,cstring,cstring)
>> RETURNS geometry
>> AS '$libdir/postgis-1.5','offsetcurve'
>> LANGUAGE 'C' IMMUTABLE STRICT
>> COST 100;
>
> ...
>
>
> e a questo punto, restituendomi un errore:
>
>> could not find function "offsetcurve" in file
>> "/usr/lib/postgresql/8.4/lib/postgis-1.5.so
>
>  sto scaricando il DVD live di OSGeo, per vedere se li è tutto a posto... e
> posso continuare col mio grafo, ma in questo momento ho problemi a
> scaricarlo, e ne ho già avuti anche nei giorni precedenti...
>
> ho fatto diversi tentativi per installare postgis2.0.0, ma non sono
> riuscito.
>
> infatti ho provato a fare la stessa query cambiando postgis-1.5 con
> postgis2.0 e mi da un errore diverso:
>
> ERROR:  could not load library "/usr/lib/postgresql/8.4/lib/postgis-2.0.so":
> /usr/lib/postgresql/8.4/lib/postgis-2.0.so: undefined symbol:
> GEOSRelatePatternMatch
>
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20110924/9f281ee3/attachment.html>


Maggiori informazioni sulla lista Gfoss