[Cartoweb-users] CartoWeb: [MapServer Error]: setExtent(): Given map extent is invalid

Steven De Vriendt gisaalter at gmail.com
Wed Feb 22 09:44:08 EST 2006


Thanks Adriano, I have given it a try but I'm still not able to get it
working
I'm  quite confused about determinating both values in the ini and in the
map file.
I've determined the extent in the map file with the ogrinfo command in
mapserver (think that's ok)
but how do I determine the value of that in the ini file ? How did
you dereive those values ?
Thanks for helping out !



On 2/22/06, Adriano Hantequeste Gomes <adrianohg at gmail.com> wrote:
>
> Hi steven,
>
>
> See the attach.
>
>
> Any question enter contact
> Adriano
>
>
>
>
> 2006/2/22, Steven De Vriendt <gisaalter at gmail.com>:
> > Adriano,
> >
> > I can't see what values have been inverted ? Can you give me an example
> of
> > one of your map and ini files ?
> > That'll be great. Thanks for answering my question !
> >
> >
> > On 2/21/06, Adriano Hantequeste Gomes <adrianohg at gmail.com> wrote:
> > > Hi Steven,
> > >
> > >
> > > I have this problem too, i resolve on this topic:
> > >
> > >
> > >
> >
> http://lists.maptools.org/pipermail/cartoweb-users/2006-January/000472.html
> > >
> > >
> > >
> > > Thanks
> > > Adriano
> > >
> > >
> > >
> > >
> > >
> > > 2006/2/21, Steven De Vriendt <gisaalter at gmail.com >:
> > > > I'm trying to set up a cartoweb app with the use of the demo data
> with
> > my
> > > > own data.
> > > > When I try my app I get the following error:
> > > > Fatal error: [MapServer Error]: setExtent(): Given map extent is
> > invalid. in
> > > >
> > C:\wamp\www\cartoweb3\coreplugins\location\server\ServerLocation.php
> > > > on line 319
> > > >
> > > > Below is my map file
> > > >
> > > > In my server_conf directory I've looked at my ini file, the initial
> map
> > > > states is
> > > > set to
> > > > mapInfo.initialMapStates.default.location.bbox =
> > "77336,
> > > > 189988, 90937, 201812"
> > > > or my extent of the mapfile...
> > > >
> > > > What am I doing wrong ?
> > > >
> > > >
> > > >
> > > > NAME DEMO
> > > >
> > > > STATUS ON
> > > >
> > > > SIZE 600 500
> > > >
> > > > EXTENT 77336 189988 90937 201812
> > > >
> > > > UNITS METERS
> > > >
> > > > SHAPEPATH "data"
> > > >
> > > > IMAGECOLOR 255 255 255
> > > >
> > > > FONTSET "fonts.txt"
> > > >
> > > > SYMBOLSET "symbols.txt"
> > > >
> > > > TRANSPARENT FALSE
> > > >
> > > > PROJECTION
> > > >
> > > > "init=epsg:31300"
> > > >
> > > > END
> > > >
> > > > LAYER
> > > >
> > > >
> > > >
> > > > NAME KadScan
> > > >
> > > > TYPE POLYGON
> > > >
> > > > STATUS ON
> > > >
> > > > DATA C44001
> > > >
> > > > CLASS
> > > >
> > > > NAME "KadScan"
> > > >
> > > > #COLOR 240 240 240
> > > >
> > > > OUTLINECOLOR 199 199 199
> > > >
> > > > END
> > > >
> > > > END # layer
> > > >
> > > > ###########
> > > >
> > > > # outline #
> > > >
> > > > ###########
> > > >
> > > > LAYER
> > > >
> > > > NAME "cartoweb_point_outline"
> > > >
> > > > TYPE POINT
> > > >
> > > > CLASS
> > > >
> > > > STYLE
> > > >
> > > > SYMBOL "circle"
> > > >
> > > > COLOR 0 0 205
> > > >
> > > > SIZE 10
> > > >
> > > > END
> > > >
> > > > LABEL
> > > >
> > > > TYPE TRUETYPE
> > > >
> > > > FONT "Vera"
> > > >
> > > > SIZE 7
> > > >
> > > > COLOR 0 0 0
> > > >
> > > > OUTLINECOLOR 255 255 255
> > > >
> > > > POSITION lc
> > > >
> > > > END
> > > >
> > > > END
> > > >
> > > > END
> > > >
> > > > LAYER
> > > >
> > > > NAME "cartoweb_line_outline"
> > > >
> > > > TYPE LINE
> > > >
> > > > TRANSPARENCY 100
> > > >
> > > > CLASS
> > > >
> > > > STYLE
> > > >
> > > > OUTLINECOLOR 255 0 0
> > > >
> > > > SYMBOL "line-dashed"
> > > >
> > > > SIZE 3
> > > >
> > > > END
> > > >
> > > > LABEL
> > > >
> > > > TYPE TRUETYPE
> > > >
> > > > FONT "Vera"
> > > >
> > > > SIZE 7
> > > >
> > > > COLOR 0 0 0
> > > >
> > > > OUTLINECOLOR 255 255 255
> > > >
> > > > ANGLE auto
> > > >
> > > > POSITION uc
> > > >
> > > > END
> > > >
> > > > END
> > > >
> > > > END
> > > >
> > > > LAYER
> > > >
> > > > NAME "cartoweb_polygon_outline"
> > > >
> > > > TYPE POLYGON
> > > >
> > > > TRANSPARENCY 60
> > > >
> > > > CLASS
> > > >
> > > > STYLE
> > > >
> > > > COLOR 255 153 0
> > > >
> > > > OUTLINECOLOR 0 0 0
> > > >
> > > > END
> > > >
> > > > LABEL
> > > >
> > > > TYPE TRUETYPE
> > > >
> > > > FONT "Vera"
> > > >
> > > > SIZE 7
> > > >
> > > > OUTLINECOLOR 255 255 255
> > > >
> > > > COLOR 0 0 0
> > > >
> > > > POSITION cc
> > > >
> > > > END
> > > >
> > > > END
> > > >
> > > > END
> > > >
> > > > END # Map File
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Cartoweb-users mailing list
> > > > Cartoweb-users at lists.maptools.org
> > > >
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> > > >
> > > >
> > > >
> > >
> > > _______________________________________________
> > > 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/20060222/63da12e6/attachment.html


More information about the Cartoweb-users mailing list