[maplab-users] Problem with maplab 2.2 and MapServer 4.4.2

Jeff McKenna jmckenna at dmsolutions.ca
Wed Apr 20 12:21:49 EDT 2005


Try specifying EPSG in lowercase:

  PROJECTION
    "init=epsg:27582"
  END

does that make a difference?


jeff




VILLOIN Franck DSIC BI wrote:
> Hi List,
> 
> I install on RedHat Server PHP 4.3.10, MapLab 2.2, MapServer 4.4.2 and 
> MapScript 4.4.2
> 
> When I have a declared projection in a general way in my file MAP, when 
> I use the button of preview of maplab,
> the first time the map posts myself correctly. 
> I close the preview window.
> When I push the preview button again the map is not posted.
> 
> the error message apache
> [Tue Apr 19 15:08:09 2005] [error] [client 10.237.5.9] PHP Fatal error:  
> [MapServer Error]: msProcessProjection(): projection not named, referer: 
> http://servcarto/MapLab/htdocs/mapedit/toolbar.phtml?sid=42650263129cc
> 
> [Tue Apr 19 15:08:09 2005] [error] [client 10.237.5.9]  in 
> /var/appcarto/maplab-2.2/htdocs/common/wrapper/map_session.php on line 
> 845, referer: 
> http://servcarto/MapLab/htdocs/mapedit/toolbar.phtml?sid=42650263129cc
> 
> My File Map
> 
> MAP
>   NAME "test"
>   EXTENT 5838 1620431 1197022 2677441
>   SIZE 600 600
>   SHAPEPATH "/var/appcarto/sig/sig-dsc/Data"
>   SYMBOLSET "/var/appcarto/sig/sig-dsc/Symboles/symbols.sym"
>   FONTSET "/var/appcarto/sig/sig-dsc/Fonts/fonts.txt"
>   IMAGETYPE PNG
>   IMAGECOLOR 255 255 255
>   UNITS METERS
>   PROJECTION
>     "init=EPSG:27582"
>   END
>   LAYER
>     NAME "Routier"
>     STATUS ON
>     DATA "./Routier/RESEAU_ROUTIER_NIV2"
>     TYPE LINE
>     CLASS
>       NAME "departement"
>       STYLE
>         SYMBOL 0
>         COLOR 0 0 4
>         OUTLINECOLOR 0 0 0
>       END
>     END
>   END
> END
> 
> Franck
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the Maplab-users mailing list