Fw: [Mapserver-users] center map on x,y coordinates
Elisabeth Nolz
e9625730 at student.tuwien.ac.at
Tue May 4 05:14:57 PDT 2004
i tried alexandros link but still got the same error:
getString(): Symbol definition error. (MAP):(0)
perhaps someone knows whats going wrong.
elisabeth.
On Tuesday 04 May 2004 14:44, Alexandros Chimarios wrote:
make last try with :
http://localhost/cgi-bin/mapserv?map=map.map&mapxy="339989,00
1646,00"&scale=1000
It seems that the %20 special HTML char is getting confused with the number
after that.
Elisabeth, please also send a carbon-copy of your emails to the mapserver-list
cause may be some people out there that could help you more than me.
I don't know if this make you feel better, but I also have some problems with
Maserver. I have been trying to setup a WMS server since the morning !
Regards
Alexandros
"Elisabeth Nolz" <e9625730 at student.tuwien.ac.at> schrieb:
hi again, alexandros.
i copied my .map-file to the apache/cgi-bin directory and this is the link i'm
working with by now:
http://localhost/cgi-bin/mapserv?map=map.map&mapxy=339989,00%201646,00&scale=1000
but i get the following error:
getString(): Symbol definition error. (MAP):(0)
do you know what that means?
On Tuesday 04 May 2004 14:15, Alexandros Chimarios wrote:
Elisabeth,
I think there's a problem with your URL. According to Mapserver syntax the CGI
param should be: MAPXY [x] [y]
But you have
http://myserver.com/cgi-bin/mapserver?map=parcel.map&mapxy=x_from_mysql+y_from_mysql&scale=150000
What does this "+" symbol mean ?
Try the following URL :
http://myserver.com/cgi-bin/mapserver?map=parcel.map&mapxy=x_from_mysql%20y_from_mysql&scale=150000
"Elisabeth Nolz" <e9625730 at student.tuwien.ac.at> schrieb:
i'm using PHP MapScript 3.6 and these x,y coordinates are geographical
coordinates (gauss-krueger). i want to pass these coordinates through a link.
is that possible?
On Tuesday 04 May 2004 13:34, Alexandros Chimarios wrote:
Hi ,
are you using the MapScript language ? If yes in the mapObj class there is
the method centerByPoint which operates on the screen space(pixels). What are
those x,y ? Screen coords(pixels) or geographical coordinates (e.x lat/lon) ?
On Tuesday 04 May 2004 12:24, Elisabeth Nolz wrote:
hi list.
in my application i have a drop-down menu with lots of addresses addresses and
appropriate x,y coordinates stored in a mysql-database). the user can choose
one address and then click on the submit-button to show the map centered on
the chosen address.
the problem is, that i don't know how i could center my map on x,y
coordinates.
i found the following entry in the mapserver-user-history:
"If you have x,y coordinates for the centers of your parcels in your mysql
database, you can just run your search, grab the results, and redirect to a
url like:
http://myserver.com/cgi-bin/mapserver?map=parcel.map&mapxy=x_from_mysql+y_from_mysql&scale=150000"
i tried this link with my coordinates but it doesn't work this way. could
someone help me please?
thx,
elisabeth.
More information about the MapServer-users
mailing list