[Mapserver-users] Re: img.x and img.y in Mapserver

pkishor_98 pkishor at geoanalytics.com
Wed Jul 16 10:14:30 EDT 2003


--- In mapserver-users at yahoogroups.com, nakts at l... wrote:
> 1) yess, right, i forgot that. Thanx
> 2) but remains problem here with mapext variable - seems that Mapserver don't 
> generate it anymore since i use Oracle procedure. Procedure holds all template 
> html code and string for map image like 
> <img src="http://kartes.zl.lv/cgi-bin/mapserv?imgext='|| mapext ||'&map='|| map 
> ||'&map_
> 
> Where does mapext value lost ? How Mapserver works actually related to this 
> variable ?


well, I don't really know unless I see your code, and fully understand what you are 
doing.

I don't know why you are storing the template html code in an Oracle procedure. But, 
since I don't know that, I will not attempt to answer that.

the mapextent is used typicall to determine the mapextent of the "next" view 
requested by the user. You use the user's mouse clicks to zoom in or zoom out or 
pan based on that point.. since the mouse click is in imagespace (pixels) you need to 
transform it to mapspace and calculate the new mapextent.

First thing to do might be to see if you are getting everything to work without Oracle 
in between. If it does, there is likely something connected with your putting it all into 
an Oracle proc.


> 
> 
> 
> On Tue, 15 Jul 2003 13:40:59 -0000, pkishor_98 <pkishor at g...> wrote:
> 
> > --- In mapserver-users at yahoogroups.com, nakts at l... wrote:
> >> Hi!
> >> When user clicks on the map Mapserver creates CGI variables img.x and img.y.
> >> Is it possible that Mapserver don't do that ?
> >>
> >
> >
> > that is not a Mapserver property. That is an html forms property. To avoid 
> doing that, just don't put the image inside a form tag.
> >
> >
> >> Because I integrate map application in Oracle procedure. There i cannot 
> define variable with point in it's name... An error occures :(      what to do ?
> >>
> >
> > you could always take the points out, replace them with an underscore, or 
> whatever.
> >
> > In any case, the easiest way is to not use an image in an input tag inside a 
> form.
> >
> >
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at l...
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> >
> 
> 
> 
> -- 
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at l...
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list