[maplab-users] maplab getting projection and extends of data
Jeff McKenna
jmckenna at dmsolutions.ca
Fri Sep 9 08:45:21 EDT 2005
For extents I would recommend using the ogrinfo commandline utility,
which is included in the FWTools package (http://fwtools.maptools.org/),
and is also included in later MS4W versions (in
/ms4w/tools/gdal-ogr-utils/). For help with ogrinfo usage see the
"MapServer Reference Guide for Vector Data Access" at
http://dl.maptools.org/dl/docs/mapserv/MsVectorDataGuide.pdf.
Projection is always interesting. If it is not displayed in the ogrinfo
output, you will have to go to the source of your data and look for some
projection metadata...there's no easy way.
jeff
wesley ruto wrote:
> i have used maplab on ms4w everyting works
> perfectly except it produces an empty map when i use
> my own map data, i have tried to specify the
> projection and these are the errors i am getting any
> any there has a clue how i can tackle it how can i
> get the projections and extends of data
> thanks in advance
>
>
> the errors are
>
>
> Warning: [MapServer Error]:
> _msProcessAutoProjection(): WMS/WFS AUTO PROJECTION
> must be in the format
> 'AUTO:proj_id,units_id,lon0,lat0' (got ''). in
> C:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php
> on line 215
>
> Warning: Failed to open map file
> /ms4w/tmp//432159b2a2814.map in
> C:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php
> on line 215
>
> Warning: [MapServer Error]:
> _msProcessAutoProjection(): WMS/WFS AUTO PROJECTION
> must be in the format
> 'AUTO:proj_id,units_id,lon0,lat0' (got ''). in
> C:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php
> on line 215
>
> Warning: [MapServer Error]:
> _msProcessAutoProjection(): WMS/WFS AUTO PROJECTION
> must be in the format
> 'AUTO:proj_id,units_id,lon0,lat0' (got ''). in
> C:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php
> on line 215
>
> Warning: Failed to open map file
> /ms4w/tmp//432159b2a2814.map in
> C:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php
> on line 215
>
> Fatal error: Call to a member function on a non-object
> in C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php
> on line 308
>
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the Maplab-users
mailing list