<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>the values in the ini are not obligatory.</FONT></DIV>
<DIV><FONT size=2>If you don't set them, the values used are the ones in
the mapfile.</FONT></DIV>
<DIV><FONT size=2>The ini values are only usefull if you want to zoom on
a specific area when you load the application.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gisaalter@gmail.com href="mailto:gisaalter@gmail.com">Steven De
Vriendt</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=adrianohg@gmail.com
href="mailto:adrianohg@gmail.com">Adriano Hantequeste Gomes</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">CartoWeb Lista de Usuários</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 22, 2006 3:44
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] CartoWeb:
[MapServer Error]: setExtent(): Givenmap extent is invalid</DIV>
<DIV><BR></DIV>
<DIV>Thanks Adriano, I have given it a try but I'm still not able to get it
working</DIV>
<DIV>I'm quite confused about determinating both values in the ini and
in the map file.</DIV>
<DIV>I've determined the extent in the map file with the ogrinfo command in
mapserver (think that's ok)</DIV>
<DIV>but how do I determine the value of that in the ini file ? How did
you dereive those values ?</DIV>
<DIV>Thanks for helping out !</DIV>
<DIV><BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 2/22/06, <B class=gmail_sendername>Adriano
Hantequeste Gomes</B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:adrianohg@gmail.com " target=_blank>adrianohg@gmail.com </A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi
steven,<BR><BR><BR>See the attach.<BR><BR><BR>Any question enter
contact<BR>Adriano<BR><BR><BR><BR><BR>2006/2/22, Steven De Vriendt <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:gisaalter@gmail.com"
target=_blank>gisaalter@gmail.com</A>>:<BR>> Adriano,<BR>><BR>>
I can't see what values have been inverted ? Can you give me an example of
<BR>> one of your map and ini files ? <BR>> That'll be great. Thanks
for answering my question !<BR>><BR>><BR>> On 2/21/06, Adriano
Hantequeste Gomes <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:adrianohg@gmail.com" target=_blank> adrianohg@gmail.com</A>>
wrote:<BR>> > Hi Steven, <BR>> ><BR>> ><BR>> > I
have this problem too, i resolve on this topic:<BR>> ><BR>>
><BR>> ><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.maptools.org/pipermail/cartoweb-users/2006-January/000472.html"
target=_blank>http://lists.maptools.org/pipermail/cartoweb-users/2006-January/000472.html</A><BR>>
><BR>> ><BR>> ><BR>> > Thanks<BR>> >
Adriano<BR>> ><BR>> ><BR>> ><BR>> ><BR>> >
<BR>> > 2006/2/21, Steven De Vriendt <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:gisaalter@gmail.com" target=_blank>gisaalter@gmail.com</A>
>:<BR>> > > I'm trying to set up a cartoweb app with the use of
the demo data with <BR>> my<BR>> > > own data. <BR>> >
> When I try my app I get the following error:<BR>> > > Fatal
error: [MapServer Error]: setExtent(): Given map extent is<BR>> invalid.
in<BR>> > > <BR>>
C:\wamp\www\cartoweb3\coreplugins\location\server\ServerLocation.php
<BR>> > > on line 319<BR>> > ><BR>> > > Below is
my map file<BR>> > ><BR>> > > In my server_conf directory
I've looked at my ini file, the initial map <BR>> > > states is
<BR>> > > set to<BR>> > >
mapInfo.initialMapStates.default.location.bbox =<BR>> "77336,<BR>>
> > 189988, 90937, 201812"<BR>> > > or my extent of the
mapfile... <BR>> > > <BR>> > > What am I doing wrong
?<BR>> > ><BR>> > ><BR>> > ><BR>> > >
NAME DEMO<BR>> > ><BR>> > > STATUS ON<BR>> >
><BR>> > > SIZE 600 500 <BR>> > ><BR>> > >
EXTENT 77336 189988 90937 201812<BR>> > ><BR>> > > UNITS
METERS<BR>> > ><BR>> > > SHAPEPATH "data"<BR>> >
><BR>> > > IMAGECOLOR 255 255 255 <BR>> > ><BR>>
> > FONTSET "fonts.txt"<BR>> > ><BR>> > > SYMBOLSET
"symbols.txt"<BR>> > ><BR>> > > TRANSPARENT FALSE<BR>>
> ><BR>> > > PROJECTION <BR>> > ><BR>> > >
"init=epsg:31300"<BR>> > ><BR>> > > END<BR>> >
><BR>> > > LAYER<BR>> > ><BR>> > ><BR>>
> ><BR>> > > NAME KadScan <BR>> > ><BR>> >
> TYPE POLYGON<BR>> > ><BR>> > > STATUS ON<BR>> >
><BR>> > > DATA C44001<BR>> > ><BR>> > >
CLASS<BR>> > ><BR>> > > NAME "KadScan" <BR>> >
><BR>> > > #COLOR 240 240 240<BR>> > ><BR>> >
> OUTLINECOLOR 199 199 199<BR>> > ><BR>> > >
END<BR>> > ><BR>> > > END # layer<BR>> > >
<BR>> > > ###########<BR>> > ><BR>> > > # outline
#<BR>> > ><BR>> > > ###########<BR>> > ><BR>>
> > LAYER<BR>> > ><BR>> > > NAME
"cartoweb_point_outline" <BR>> > ><BR>> > > TYPE
POINT<BR>> > ><BR>> > > CLASS<BR>> > ><BR>>
> > STYLE<BR>> > ><BR>> > > SYMBOL "circle"<BR>>
> ><BR>> > > COLOR 0 0 205 <BR>> > ><BR>> >
> SIZE 10<BR>> > ><BR>> > > END<BR>> >
><BR>> > > LABEL<BR>> > ><BR>> > > TYPE
TRUETYPE<BR>> > ><BR>> > > FONT "Vera" <BR>> >
><BR>> > > SIZE 7<BR>> > ><BR>> > > COLOR 0 0
0<BR>> > ><BR>> > > OUTLINECOLOR 255 255 255<BR>> >
><BR>> > > POSITION lc<BR>> > ><BR>> > >
END<BR>> > ><BR>> > > END<BR>> > ><BR>> >
> END<BR>> > ><BR>> > > LAYER<BR>> > ><BR>>
> > NAME "cartoweb_line_outline"<BR>> > > <BR>> > >
TYPE LINE<BR>> > ><BR>> > > TRANSPARENCY 100<BR>> >
><BR>> > > CLASS<BR>> > ><BR>> > >
STYLE<BR>> > ><BR>> > > OUTLINECOLOR 255 0 0 <BR>> >
><BR>> > > SYMBOL "line-dashed"<BR>> > ><BR>> >
> SIZE 3<BR>> > ><BR>> > > END<BR>> >
><BR>> > > LABEL<BR>> > ><BR>> > > TYPE
TRUETYPE <BR>> > ><BR>> > > FONT "Vera"<BR>> >
><BR>> > > SIZE 7<BR>> > ><BR>> > > COLOR 0 0
0<BR>> > ><BR>> > > OUTLINECOLOR 255 255 255<BR>> >
> <BR>> > > ANGLE auto<BR>> > ><BR>> > >
POSITION uc<BR>> > ><BR>> > > END<BR>> >
><BR>> > > END<BR>> > ><BR>> > > END<BR>>
> ><BR>> > > LAYER <BR>> > ><BR>> > > NAME
"cartoweb_polygon_outline"<BR>> > ><BR>> > > TYPE
POLYGON<BR>> > ><BR>> > > TRANSPARENCY 60<BR>> >
><BR>> > > CLASS <BR>> > ><BR>> > >
STYLE<BR>> > ><BR>> > > COLOR 255 153 0<BR>> >
><BR>> > > OUTLINECOLOR 0 0 0<BR>> > ><BR>> >
> END<BR>> > ><BR>> > > LABEL <BR>> >
><BR>> > > TYPE TRUETYPE<BR>> > ><BR>> > >
FONT "Vera"<BR>> > ><BR>> > > SIZE 7<BR>> >
><BR>> > > OUTLINECOLOR 255 255 255<BR>> > > <BR>>
> > COLOR 0 0 0<BR>> > ><BR>> > > POSITION
cc<BR>> > ><BR>> > > END<BR>> > ><BR>> >
> END<BR>> > ><BR>> > > END<BR>> > ><BR>>
> > END # Map File <BR>> > ><BR>> > ><BR>> >
><BR>> > ><BR>> > ><BR>> > ><BR>> >
><BR>> > ><BR>> > >
_______________________________________________<BR>> > >
Cartoweb-users mailing list <BR>> > > <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org</A><BR>> >
><BR>> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target=_blank>http://lists.maptools.org/mailman/listinfo/cartoweb-users
</A><BR>> > ><BR>> > ><BR>> > ><BR>>
><BR>> > _______________________________________________<BR>>
> Cartoweb-users mailing list <BR>> > <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org</A><BR>> ><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target=_blank>http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR>>
><BR>><BR>><BR><BR><BR></BLOCKQUOTE></DIV><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>