[Mapserver-users] Pixel....

Debbie Pagurek pagurekd at agr.gc.ca
Tue Jun 10 14:37:58 EDT 2003


you need to have an empty point layer set up in your mapfile that defines the colors to use, and then you can add the appropriate name value pairs in the URL.  See Steve Lime's post for more information:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0005/msg00086.html

Debbie

>>> "João Paulo M. Claro" <jpmclaro at yahoo.com.br> 06/10/03 01:19pm >>>
Steve,
How I make to make this passing for parameters in the URL for the MapServer? 
  I have the following situation, the center of the map is latitude -23 and longitude -46 and that to insert a point in latitude -23,55 and longitude -46.46 the imgext=-47 -24 -45 -22. 

How I can insert this point?

Thanks

João Paulo



----- Original Message ----- 
From: <woodbri at swoodbridge.com>
To: <mapserver-users at lists.gis.umn.edu>; "João Paulo M. Claro" <jpmclaro at yahoo.com.br>
Sent: Monday, June 09, 2003 9:23 PM
Subject: Re: [Mapserver-users] Pixel....


> João Paulo,
> 
> You can do this either via the mapserver URL parameters or via 
> mapscript and you can specify the point you want to mark in lat/long 
> or XY instead of pixels. Look at the FEATURE object in the mapfile 
> reference or the mapscript reference and look at the URL reference.
> 
> The basic scenario is that you define a FEATURE without a location 
> defined, then use the URL params or mapscript to give the feature a 
> coordinate value so it will be displayed.
> 
> Sorry, I don't have an example handy. - Anyone else have an example?
> 
> -Steve
> 
> On 9 Jun 2003 at 20:29, João Paulo M. Claro wrote:
> 
> > Hi Folks,
> > 
> > I have the following problem, necessary to mark on the map a point
> > that is not in the center of the map, as I can make this?
> > 
> > I can treat linearly, this to make a ratio in pixel?
> > 
> > Somebody can give an example to me of as to make this? 
> > 
> > Cordially,
> > 
> > João Paulo
> > 
> 
> 
> 
> _______________________________________________
> 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