[Mapserver-users] distance tool fixed? historial?

Yewondwossen Assefa assefa at dmsolutions.ca
Fri Oct 17 08:07:03 EDT 2003


Guillermo Felipe wrote:

> Hi,
> 
> Thanks for your attention.
> 
> After your email, I tested from other computer where I never used the rosa
> applet and it worked!.
> It seems to me that I had a problem with the temporary files. Always, I was
> working with the old rosa applet in my xp server, so I changed its name to
> rosa2.jar and it worked too.
> 
> Before change the name, I erased the temporary files and the historial, but
> it didn´t fix the problem....Why?
> 
> Two more newbie questions:
> 
> + How can I use the DIST_MSG parameter?...How can I call the distance value
> in php?:
> 

> printf(<PARAM NAME="DIST_MSG" VALUE="Approximative distance: %s km">, ???);
> 
  If you can outputing risa parameters from PHP, you do something like 
this :
  echo "<PARAM NAME=\"DIST_MSG\" VALUE=\"Approximative distance: %s km\">";

The distance value is not directly accessible through php.

> + How can I enable the ESC key with the distance tool?
> 
  Only double click is supported for now to stop the distance tool.

> 
> Thanks again,
> 
> guillermo
> ----- Original Message -----
> From: "Yewondwossen Assefa" <assefa at dmsolutions.ca>
> To: "Guillermo Felipe" <gfmb at tutopia.com>
> Cc: "mapserver users" <mapserver-users at lists.gis.umn.edu>;
> <rosa-users at dmsolutions.ca>
> Sent: Monday, October 13, 2003 4:47 PM
> Subject: Re: [Mapserver-users] distance tool fixed?
> 
> 
> 
>>I just tried the version 1.2.0 from the download site and the distance
>>gets set to 0 between each time the distance tool is used.
>>
>>  This issue has been adressed few months ago and should be available
>>inside the latest versions.
>>
>>  Do other have similar problems ?
>>
>>Later,
>>
>>Guillermo Felipe wrote:
>>
>>>Hi all,
>>>
>>>I´m been trying with the 1.2.0 (August 19, 2002) and
>>>(2003-04-02) versions of  the Rosa applet, but I didn´t have success
>>>with the accumulative distance problem....when I reselect the distance
>>>button or select another one, the initial distance is not 0.
>>>
>>>Do you know if the problem is fixed?
>>>
>>>I´m been reading some emails related and the README, so I don´t know if
>>>I´m doing something wrong:
>>>
>>>Change Log:
>>>===========
>>>[..]
>>>Current version
>>>---------------
>>>Version 1.2.1 (Feb 25, 2003):
>>>[...]
>>>- Correct Bug with the mesuring tool.
>>>[---]
>>>
>>>http://lists.maptools.org/pipermail/rosa-users/2002-June/000002.html
>>>
>>>Thanks in advance,
>>>
>>>guillermo
>>>
>>>pd: my code is:
>>>printf("<PARAM NAME=\"TB_BUT_dist_IMG\"
>>>VALUE=\"./images/tool_dist_1.gif\">\n");
>>>printf("<PARAM NAME=\"TB_BUT_dist_IMG_PR\"
>>>VALUE=\"./images/tool_dist_2.gif\">\n");
>>>printf("<PARAM NAME=\"TB_BUT_dist_HINT\" VALUE=\"Mida la distancia|entre
>>>dos puntos\">\n");
>>>printf("<PARAM NAME=\"TB_BUT_dist_INPUT\" VALUE=\"dist\">\n");
>>>printf("<PARAM NAME=\"TB_BUT_dist_NAME\" VALUE=\"CMD\">\n");
>>>printf("<PARAM NAME=\"TB_BUT_dist_VALUE\" VALUE=\"DISTANCE\">\n");
>>> printf("<PARAM NAME=\"PIXEL_SIZE\"
>>>
> 
> VALUE=\"%s\">\n",(($gpoMap->extent->maxx-$gpoMap->extent->minx)/$gpoMap->wid
> th));
> 
>>
>>--
>>----------------------------------------------------------------
>>Assefa Yewondwossen
>>Software Analyst
>>
>>Email: assefa at dmsolutions.ca
>>http://www.dmsolutions.ca/
>>
>>Phone: (613) 565-5056 (ext 14)
>>Fax:   (613) 565-0925
>>----------------------------------------------------------------
>>
>>
>>
>>_______________________________________________
>>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
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------






More information about the mapserver-users mailing list