Fw: [Mapserver-users] center map on x,y coordinates

Elisabeth Nolz e9625730 at student.tuwien.ac.at
Tue May 4 10:14:14 EDT 2004

i checked my mapfile and there was an error. you were right. i changed this
and now i get this error:
getNumeric(): Incorrect data type. 

On Tuesday 04 May 2004 15:21, Alexandros Chimarios wrote:
How about checking your map file ? Propably there's a syntax error in there !

Send your map file please.

On Tuesday 04 May 2004 15:14, Elisabeth Nolz wrote:
i tried alexandros link but still got the same error:
getString(): Symbol definition error. (MAP):(0)

perhaps someone knows whats going wrong.

On Tuesday 04 May 2004 14:44, Alexandros Chimarios wrote:
make last try with :

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 !


"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:

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:

I think there's a problem with your URL. According to Mapserver syntax the CGI
param should be:  MAPXY [x] [y]

But you have

What does this "+" symbol mean ?

Try the following URL :

"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

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:

i tried this link with my coordinates but it doesn't work this way. could
someone help me please?


More information about the mapserver-users mailing list