[Mapserver-users] WMS GetFeatureInfo reprojection problem?

Bart van den Eijnden bartvde at xs4all.nl
Tue Jun 1 18:02:45 EDT 2004


Hi Doug,

I just tried on my data and I can reproduce the situation.

I have created a bug in bugzilla:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=707

Best regards,
Bart

On 01 Jun 2004 14:36:28 -0700, Doug Cates <doug at moximedia.com> wrote:

> Hi,
>
> I'm seeing a problem when doing a GetFeatureInfo on a MapServer 4.0.2
> WMS server instance. I'm wondering if this is a know problem....
>
> The problem appears when the layer is being projected on the fly (e.g
> geographic shapefile in a request in BC Albers), with the map file set
> up like this:
>
> NAME "usershape"
> STATUS ON
> SIZE 400 400
> UNITS METERS
> SHAPEPATH "/var/moxi_apps/web-sites/temp"
> IMAGECOLOR 255 255 255
> IMAGETYPE PNG
> SYMBOL
>   NAME "square"
>   TYPE vector
>   FILLED true
>   POINTS
>     0 0
>     0 12
>     12 12
>     12 0
>     0 0
>   END
> END
> PROJECTION
>   "init=epsg:42102"
> END
> WEB
>   TEMPLATE "none.html"
>   IMAGEPATH "/var/moxi_apps/web-sites/temp/"
>   IMAGEURL "http://209.126.184.40/temp/"
>   METADATA
>     WMS_TITLE "User uploaded data"
>     WMS_ABSTRACT "Temporary service based on user uploaded data."
>     WMS_ONLINERESOURCE 
> "http://www.moxi.ca/cgi-bin/mapserv?map=/var/moxi_apps/web-sites/temp/shp45091.map&amp;"
>     WMS_SRS "EPSG:42102 EPSG:4326"
>   END
> END
> LAYER
>   NAME "shp45091"
>   TYPE POLYGON
>   DATA shp45091
>   STATUS ON
>   PROJECTION
>     "init=epsg:4326"
>   END
>   METADATA
>     WMS_TITLE "shp45091"
>   END
>   DUMP TRUE
>   CLASS
>     TEMPLATE "none.html"
>     COLOR 192 255 192
>     OUTLINECOLOR 0 0 0
>   END
> END
> END
>
> I'm finding that queries are not returning any results when requesting
> the GetFeatureInfo using the 42102 EPSG code:
>
> http://www.moxi.ca/cgi-bin/mapserv?map=/var/moxi_apps/web-sites/temp/shp45091.map&VERSION=1.1.0&REQUEST=GetFeatureInfo&LAYERS=shp45091&STYLES=&SRS=EPSG%3A42102&BBOX=13955.0,281901.0,2047779.0,1773046.0&WIDTH=832&HEIGHT=610&FORMAT=image/png&QUERY_LAYERS=shp45091&INFO_FORMAT=application/vnd.ogc.gml&FEATURE_COUNT=25&X=427&Y=263&
>
> The map draws fine:
>
> http://www.moxi.ca/cgi-bin/mapserv?map=/var/moxi_apps/web-sites/temp/shp45091.map&VERSION=1.1.0&REQUEST=GetMap&LAYERS=shp45091&STYLES=&SRS=EPSG%3A42102&BBOX=13955.0,281901.0,2047779.0,1773046.0&WIDTH=832&HEIGHT=610&FORMAT=image/png&
>
> Is this a bug? Should this work? Seems to me that it should....
>
> All the best,
> Doug
>
> _______________________________________________
> 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