[Mapserver-users] wms and projections
Amit S BEHERE
abehere at cs.ucsd.edu
Fri Feb 6 15:01:04 PST 2004
I donot really know. It was probably generated in ArcView or ArcInfo. It
opens and works fine in ArcView (and with ArcIMS)
THanks,
Amit Behere.
UCSD.
"Technology doesn't make your life more difficult or easy, it just changes
the rules"......Vishwanathan Anand
On Fri, 6 Feb 2004, David Fawcett wrote:
> I am still not sure why the data displays as it does. Ed, did you ever
> take a look at the data?
>
> Amit, how was the shapefile generated? Was it done in ArcInfo/ArcView
> or some other means?
>
> David.
>
> David J. Fawcett
> MN Office of Environmental Assistance
>
> >>> Amit S BEHERE <abehere at cs.ucsd.edu> 2/6/2004 1:37:43 PM >>>
> Hi all,
> This is an extension of the question I had posted previously regarding
> seeing only one point on the map. I had taken example1-1.map from the
> tutorial and modified it to display my shapefile. However I was seeing
> only one tree when I should have been seeing a whole bunch. Thanks to
> David I was able to fix that (I needed to set MINSCALE, athough I
> don't
> know why yet?) and could see the whole set of trees.
>
> Now I have converted that mapfile to serve as a WMS service by adding
> the
> appropriate wms tags in the mapfile. I am getting the capabilites back
> correctly. However when I use the OGIS GetMap request I again see just
> one
> tree.
>
> http://pune/mapserver/mapserv.exe?map=/MSTutorial/testwms.map&request=getmap&version=1.1
>
>
> However if I view the same file i.e testwms.map using the regular
> mapserver interface i.e using the command
> http://pune/mapserver/mapserv.exe?map=/MSTutorial/testwms.map&mode=map
>
>
> I see the whole set again. So basically I see just one tree if I give
> the
> OGIS getmap url and a whole set of trees when I give the regular
> mapserver url. Any one encountered similar problems or any idea why
> this
> is happening
>
> Here is my map file
>
> MAP
> NAME demoservice
> IMAGETYPE PNG
> EXTENT 385538 3761010 391329 3764477
> UNITS METERS
> SIZE 600 600
> SHAPEPATH "data"
> IMAGECOLOR 255 255 255
>
> PROJECTION
> "init=epsg:26911"
> END
>
>
> WEB
> IMAGEPATH "c:\itasca\tmp\"
> IMAGEURL "/tmp/"
> MINSCALE 50000 #with this enabled, produces image with all
> points
> #MAXSCALE 15500000 #see 'with_scale_restrictions.png'
>
> METADATA
> "wms_title" "WMS Demo Server"
> "wms_onlineresource"
> "http://pune/mapserver/mapserv.exe?map=/MSTutorial/testwms.map&"
> "wms_srs" "epsg:26911"
> END
> END
>
> SYMBOL
> NAME 'circle'
> TYPE ELLIPSE
> POINTS 1 1 END
> FILLED TRUE
> END
>
>
> LAYER
> NAME trees
> DATA vernon_trees
> STATUS DEFAULT
> TYPE POINT
> LABELITEM "TREEID"
> CLASS
> COLOR 0 0 0
> SYMBOL 'circle'
> SIZE 6
> END
>
> PROJECTION
> "init=epsg:26911"
> END
>
> METADATA
> "wms_title" "WMS Demo Server"
> "wms_srs" "epsg:26911"
> "wms_extent" "385538 3761010 391329 3764477"ho
>
> END
>
> END # layer ends here
>
> END # end of map file/object
>
> Amit Behere.
> UCSD.
> "Technology doesn't make your life more difficult or easy, it just
> changes
> the rules"......Vishwanathan Anand
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list