Hola.
Gracias a la ayuda de un user de la lista, he logrado confirmar que POSTGIS =
OK !!! :)
Sin embargo, es mi deseo que TODOS LOS USERS puedan correr las funciones de
POSTGIS.
De momento lo he logrado asi:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
root@GV [~]# rpm -qa | grep postgresql
compat-postgresql-libs-4-1PGDG.rhel5
postgresql-server-8.4.4-2PGDG.el5
postgresql-devel-8.4.4-2PGDG.el5
postgresql-8.4.4-2PGDG.el5
postgresql-libs-8.4.4-2PGDG.el5
root@GV [~]# psql -U postgres -d geoespacial
psql (8.4.4)
Type "help" for help.
geoespacial=# SELECT NOW();
now
-------------------------------
2011-10-01 19:44:22.392378-05
(1 row)
geoespacial=# SELECT PostGIS_Full_Version();
postgis_full_version
--------------------------------------------------------------------------------------------------------
POSTGIS="1.5.3" GEOS="3.3.1-CAPI-1.7.1" PROJ="Rel. 4.7.1, 23 September 2009"
LIBXML="2.6.26" USE_STATS
(1 row)
geoespacial=#
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Maravilla ! ! !
Llevo muchas horas intentado OBTENER ESA SALIDA...
Sin embargo, la idea es lograrla desde PHP.
Simplemente corriendo el QUERY:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
$Q=pg_query('SELECT PostGIS_Full_Version();');
$R=PG_FETCH_ARRAY($Q);
echo '<pre>';
print_r($R);
echo '</pre>';
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File que ANY user del sistema deberia correr y obtener LA MISMA SALIDA...
O sino es asi, entonces cómo se hace?
Se TIENE QUE ENTREGAR LA CLAVE Y USER
de la tabla POSTGIS a todo user del sistema ?
no creo que sea asi...
(se trata de un LINUX con múltiples usuarios...)
GRATITUD !
_______________________________________________
Talk-co mailing list
Talk-co@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-co