[GRASS-user] ogr-grass
Jachym Cepicky
jachym.cepicky at centrum.cz
Wed Jun 28 15:49:57 EDT 2006
Hallo
is http://mapserver.gis.umn.edu/docs/reference/vector_data/postgis what
you are searching for?
LAYER
NAME pg_test
TYPE POLYGON
CONNECTIONTYPE POSTGIS
CONNECTION "host=yourhostname dbname=yourdatabasename user=yourdbusername password=yourdbpassword port=yourpgport"
DATA "wkb_geometry FROM province"
CLASS
...
END
END
Jáchym
On Wed, Jun 28, 2006 at 06:47:59PM +0200, Paolo Cavallini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all.
> We're experimenting with the ogr driver for grass vector (just entered
> into Debian unstable - thanks Steve Halasz!). Everything works well 8eg
> ogr2ogr), but we cannot figure out how to pass the PostgreSQL connection
> string through MapServer. AFAICT, mapserver works as www-data user, and
> rough attempts to give these credential to www-data (copying
> .grasslogin6 in /home/www-data) had no success (DBMI-Postgres driver
> error: Cannot connect to Postgres: fe_sendauth: no password supplied).
> With dbf driver everything is ok.
> Anybody has a hint?
> All the best.
> pc
> - --
> Paolo Cavallini
> email+jabber: cavallini at faunalia.it
> www.faunalia.it
> Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEorK//NedwLUzIr4RAl/iAJwLsH15ivHb2t7CmoXW+bbPoI7AKgCdEsf+
> b1KYyL5ZFWqnZUM2oXdsoc4=
> =Aqpf
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20060628/f0cdaa18/attachment.bin
More information about the grass-user
mailing list