I thought I understood how PROJECTION worked in map files....
The map file below renders the earth/countries outline and a rectangle
with the overall map projection set to init=epsg:4326 and EXTENT -180
-90 180 90.
However when I change the overall map projection to "proj=ortho" and
EXTENT -8000000 -8000000 8000000 8000000 I get a globe drawn the
rectangle has not been projected onto the globe.
I have various other layers with city names etc and all of these project
ok.
What have I misunderstood here?
Thanks
Ian
LAYER
NAME "box"
STATUS DEFAULT
TYPE polygon
FEATURE
WKT "POLYGON ((180.0 0.0, -180.0 0.0, -180.0 90.0, 180.0 90.0, 180.0
0.0))"
END
CLASS
STYLE
COLOR 0 0 100
END
END
PROJECTION
"init=epsg:4326"
END
END
LAYER
NAME world
TYPE polygon
DATA World_Countries.shp
STATUS DEFAULT
CLASS
STYLE
COLOR 50 128 50
OUTLINECOLOR 10 10 10
WIDTH 1
END
END
PROJECTION
"init=epsg:4326"
END
END
PROJECTION
"init=epsg:4326"
# "proj=ortho"
# "lat_0=0.0"
# "lon_0=-90.0"
END
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users