[postgis-users] RE: libpostgis library

Frances Collier fcollier at preparedresponse.com
Tue Oct 18 09:34:46 PDT 2005


Thanks for the hint, Markus.

I never did check the actual SRID since I was trying to mix a database layer
with some shapefiles in the mapserver. However, the SRID comment got me
thinking about projections and that's what my problem was. My database layer
and the shapefiles were not in the same projection. It's working better now.

Thank you,
Frances Collier


Date: Mon, 17 Oct 2005 10:55:28 +0200
From: Markus Schaber <schabi at logix-tt.com>
Subject: Re: [postgis-users] Re: libpostgis library
To: PostGIS Users Discussion <postgis-users at postgis.refractions.net>
Message-ID: <43536700.8010401 at logix-tt.com>
Content-Type: text/plain; charset=windows-1252

Hi, Frances,

Frances Collier wrote:

> I have the liblwgeom.dll, however, it is not in the Win32 directory (it
> is in the PostgreSQL\8.0\lib directory). Do I need to put it there for
> PostGIS to return the data to mapserver properly?

No, this is the correct directory for PostgreSQL extensions like PostGIS.

> After running SELECT postgis_full_version() I got:
> POSTGIS=1.0.1 GEOS=2.1.4 PROJ=Rel. 4.4.9, 29 Oct 2004 USE_STATS
> DBPROC=0.3.0 RELPROC=0.3.0

This output tells us that your PostgreSQL has successfully found the
liblwgeom.dll, and works with it.

Thus, the problem has to be somewhere else, maybe your MapServer query
definition.

Does Mapserver return any error messages? What SRID is your data in, and
what does Mapserver expect?

Maybe the Mapserver experts here or on the Mapserver list can give you
more help.

Markus






More information about the postgis-users mailing list