[FWTools] Mapserver and rendering a Swedish RT-90

Frank Warmerdam fwarmerdam at gmail.com
Tue Aug 30 12:28:45 EDT 2005


On 8/30/05, in er <inkimar_1968 at hotmail.com> wrote:
> Layer name: svelan_2002_general
> Geometry: Polygon
> Feature Count: 26
> Extent: (1198493.000000, 6114582.000000) - (1884297.000000, 7670799.500000)
...
> In the global map I did enter the Extent, taken from ogrinfo,  as in
> EXTENT 1198493 6114582 1884297 767079

> Still Having problems with the extent, my browser says:
> " loadMapInternal(): General error message. Given map extent is invalid. "

Ingimar, 

I'm not too sure about the coordinate system, but I think your 
core problem is that you transcribed the "maximum y" value wrong.
7670799 was copied as 767079.  So the ymax is less than ymin
which is illegal (hence the error). 

PS. general questions about mapserver like this are likely to get a
larger audience and better response on mapserver-users.  This list
is mainly intended to address issues specific to the FWTools package. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the FWTools mailing list