[MS4W-Users] Postgis data access

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Oct 12 07:04:57 EST 2011


gayani wrote:
> 
> Hi,
> I access the postgis database through .map file in my web map server
> application.  For this application I am using two projection systems.  One
> is Kadawala (for Sri Lankan coordinate system). Other one is WGS84.  But I
> can query for the kadawala data propoely.  But, it is unable to execute
> the query through .map file.  Where can be the issue?  Anyone have any
> idea.
> 

Hello,

I usually test the connection through an ogrinfo command, such as:

{{{
  ogrinfo PG:"host=127.0.0.1 user=postgres password=postgres dbname=canada
port=5432"
}}}

(more examples at: http://www.mapserver.org/input/vector/postgis.html)

-jeff

-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/






--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Postgis-data-access-tp6883431p6884709.html
Sent from the ms4w-users mailing list archive at Nabble.com.


More information about the MS4W-Users mailing list