No subject
Mon Oct 7 05:54:23 PDT 2024
cannot publish the data since the data is not free)
Then I change my map file to this:
EXTENT 37074.96 6669762.95 37982.21 6670408.60
PROJECTION
"+proj=3Deqc +lat_ts=3D60 +lon_0=3D0 +x_0=3D0 +y_0=3D0 =
+ellps=3DWGS84
+datum=3DWGS84 +no_defs +units=3Dm"
END
The extent is calculated by using PROJ like this:
proj "+proj=3Deqc +lat_ts=3D60 +lon_0=3D0 +x_0=3D0 +y_0=3D0 =
+ellps=3DWGS84
+datum=3DWGS84 +no_defs +units=3Dm" < test.txt
where test.txt consists of the geographic coordinates in my first map =
file.
This mapfile creates a map about 18000 meters north of my first
mapfile. This is similar to the post from 2005. Longitude seems to be
correct.
I do not understand why Mapserver does not create approximatly the
same map in both map files? Is it not possible to use PROJ to convert
coordinates like this? If I set lat_ts=3D0 I do of course get the same
map, but that is not the projection I would like to use.
And if I cannot do it like this, how can I calculate the shift in the
y-coordinate(about 18000 meters in this example)?
Kind regards,
Espen
More information about the MapServer-users
mailing list