MapServer and World Files

Ryan Ollerenshaw ollerery at ENGR.ORST.EDU
Wed Sep 6 17:22:29 PDT 2006


I have two world files that are associated with two different .pngs that 
should be very far apart, 50,000 meters according to the world files, 
but MapServer is rendering them one just a few meters apart, does anyone 
know why this might be?

World file 1:
4.553027622068700
0.000000000000000
0.000000000000000
-4.553027622068700
-2547.418954547465546
-107603.978306161036016


World file 2:
2.891044962554800
0.000000000000000
0.000000000000000
-2.891044962554800
-2976.330788950122496
-65781.391555490277824


Here is the pgrinfo command on the shapefile that was created, as you 
can see the extent only covers a small area
 > ogrinfo -al -so moc_pds_test.shp
INFO: Open of `moc_pds_test.shp'
using driver `ESRI Shapefile' successful.
 
Layer name: moc_pds_test
Geometry: Polygon
Feature Count: 2
Extent: (-2977.776311, -124443.350966) - (2974.885266, -65779.946033)
Layer SRS WKT:
(unknown)
location: String (255.0)



More information about the MapServer-users mailing list