[Mapserver-users] map positioning -- help needed

Murat Isik muratisik at megatek.com.tr
Fri Nov 7 10:08:13 EST 2003


you are right, I always forget that. I am now also doing cc to
mapserver-user for this reply.
thank you so much.

----- Original Message -----
From: "Eric Bridger" <eric at gomoos.org>
To: "Murat Isik" <muratisik at megatek.com.tr>
Sent: Friday, November 07, 2003 12:01 PM
Subject: Re: [Mapserver-users] map positioning -- help needed


> You're welcome Murat.
> I'm glad it's finally working.  I think you should inform the list so
> that future readers with similiar issues will know what the issue was.
>
>
>
> On Fri, 2003-11-07 at 14:58, Murat Isik wrote:
> > sorry to bother you again. I forgot to change the map name to myMap.(how
> > foolish of me!)
> > now it works. thank you very much
> >
> > murat isik
> >
> >
> > ----- Original Message -----
> > From: "Eric Bridger" <eric at gomoos.org>
> > To: "Murat Isik" <muratisik at megatek.com.tr>
> > Cc: "Mapserver List" <mapserver-users at lists.gis.umn.edu>
> > Sent: Friday, November 07, 2003 11:38 AM
> > Subject: Re: [Mapserver-users] map positioning -- help needed
> >
> >
> > > On Fri, 2003-11-07 at 14:03, Murat Isik wrote:
> > > > Thank you.
> > > > I think I have minimized my problem to this whole coordinate thing.
What
> > I noticed is that my code does not catch "extent" as it works. I have to
> > feed it with the beginning coordinates myself. I have changed the code a
> > little bit too. Now it can move the map to left, but only the original
map,
> > not the zoom map. I think my problem is that I cannot "catch" the
> > coordinates/extents of the last map drawn. It has something to do with
this
> > line:
> > > >
> > > > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]);
> > > >
> > > > When I run the second europa example from mapserver site the same
line
> > works and prints the picture. In my case, it produces this error:
> > > >
> > > > Fatal error: MapServer Error in msCalculateScale():
> > > >
> > > > referring to the line with the "explode".
> > >
> > > This happens because the line below, from your code, is commented out.
> > > You don't set the current extent in your form so
> > > $HTTP_POST_VARS["extent"] will be null.
> > >
> > > file://$extent_to_html = $map->extent->minx." ".$map->extent->miny." "
> > > //              .$map->extent->maxx." ".$map->extent->maxy;
> > >
> >
> >
>




More information about the mapserver-users mailing list