[mapserver-users] How to check problem when load postgis data but no right map return?

Jeff McKenna jmckenna at gatewaygeomatics.com
Sat Aug 25 05:01:45 PDT 2012


On 12-08-25 12:04 AM, 李杨 wrote:
> I use mapserver to load postgis data, but get a blank map, so I don't
> know how to check where is the problem.
> 


Hmm.  I might use the ogrinfo commandline utility to check the extents
of the data, and then use those extents in the EXTENT parameter of the
mapfile.

ogrinfo PG:'dbname=osm host=localhost user=osm password=osm port=5432'
osm_new_places -summary


-jeff




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





More information about the MapServer-users mailing list