<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>