[Cartoweb-users] problem with PROJECTION in mapfile

Oliver Christen oliver.christen at camptocamp.com
Tue Dec 11 08:28:01 EST 2007


I dont have a solution for this problem, but I think it is weird a projection change would have effect on the way mapserver handle expression.
what's your whole layer definition ?

regards
Oliver
  ----- Original Message ----- 
  From: Milo van der Linden 
  To: cartoweb-users at lists.maptools.org 
  Sent: Tuesday, December 11, 2007 1:06 PM
  Subject: [Cartoweb-users] problem with PROJECTION in mapfile


  Hello list,

  I have a mapfile with layers in different projections. When I try to set a projection within a LAYER in the mapfile like this:

  PROJECTION
   "init=epsg:4326"
  END

  I get: Error in msEvalExpression(): Cannot evaluate expression, no item index defined.

  But when I set it to:
  PROJECTION
   "init=epsg:28992"
  END

  which is the same as the map projection, everything goes right, but my layer shows up at the wrong position.


  My gut feeling tells me that something is wrong with my EPSG codes. What can be the trick?



------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071211/793e1174/attachment.html


More information about the Cartoweb-users mailing list