<br><font size=2 face="sans-serif">Bimal,</font>
<br><font size=2 face="sans-serif">I don't know if I can fix your problem
but I suggest the following:</font>
<br>
<br><font size=2 face="sans-serif">1. check your .map file for the following
section:</font>
<br><font size=2 face="Courier New">WEB</font>
<br><font size=2 face="Courier New"> IMAGEPATH "C:/web/ms_tmp/"</font>
<br><font size=2 face="Courier New"> IMAGEURL "/ms_tmp/"</font>
<br><font size=2 face="Courier New">END</font>
<br><font size=2 face="sans-serif">Make sure that the images are being
stored in a proper location and that your project is accessing these folders.</font>
<br>
<br><font size=2 face="sans-serif">2. In order for a layer to be
'query-able', it needs some code in the layer definition in the .map file.</font>
<br><font size=2 face="sans-serif">Example:</font>
<br><font size=2 face="Courier New">LAYER </font>
<br><font size=2 face="Courier New"> NAME "Watersheds"</font>
<br><font size=2 face="Courier New"> STATUS Off</font>
<br><font size=2 face="Courier New"> DATA "./GL_watersheds"</font>
<br><font size=2 face="Courier New"> TYPE POLYGON</font>
<br><font size=2 face="Courier New"> CLASS</font>
<br><font size=2 face="Courier New"> TEMPLATE "ttt"</font>
<br><font size=2 face="Courier New"> STYLE</font>
<br><font size=2 face="Courier New"> SYMBOL
8</font>
<br><font size=2 face="Courier New">
COLOR 0 212 255</font>
<br><font size=2 face="Courier New"> OUTLINECOLOR
0 145 190</font>
<br><font size=2 face="Courier New"> END</font>
<br><font size=2 face="Courier New"> END</font>
<br><font size=2 face="Courier New"> END</font><font size=2 face="sans-serif"><br>
In the layer definition above, I've indicated Template "ttt"
in the class object. By including this, mapserver recognizes the
layer as query-able, and will display an attribute table when queried.</font>
<br><font size=2 face="sans-serif">The "ttt" is not an actual
file. MapServer will refer to the 'query.phtml' to see how the attribute
table should be displayed, etc.</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps. </font>
<br>
<br><font size=2 face="sans-serif">Kevin</font>
<p><font size=5 color=blue face="Times New Roman">______________________________</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Bimal Achary <bimal.achary@gmail.com></b>
</font>
<p><font size=1 face="sans-serif">06/09/2005 02:46 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Bimal Achary <bimal.achary@gmail.com></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">kgrootendorst@baird.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">maplab-users@lists.maptools.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: Map doesn't appear in the map-extent</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Dear Kevin,<br>
<br>
Thanks a ton for the suggestion.In
fact the map is now<br>
inside the view extent. I can view it but couldn't able to do any<br>
opeartions.<br>
<br>
Like if i'm zooming-in then the map goes out of the extent and<br>
completely disppearing.So is for zoom out and query opeartions.<br>
<br>
I can't do any query.<br>
<br>
My map shape file Orissa has 30 ploygons as 30districts.This contains<br>
all demographic details of Orissa and opens the database correctly in<br>
ArcView.How can i view the attributes of my shape file as i see in<br>
Arcview.<br>
<br>
I hope i'm clear in explaining my query.<br>
<br>
Thanks and regards,<br>
Bimal<br>
<br>
<br>
On 6/9/05, kgrootendorst@baird.com <kgrootendorst@baird.com> wrote:<br>
> Bimal,<br>
> It's critical that you change your extents to match the data you want
to <br>
> show.<br>
> For example, I've built an application that shows all the Great Lakes
<br>
> (Canada-USA) in a 'lat-long' coordinate system.<br>
> In my map file, I've defined the extents as:<br>
> <br>
> EXTENT -93 38 -74 51 #xmin ymin xmax ymax NAD 83<br>
> <br>
> If my shapefile is not in this extent (like a shapefile of India),
I will <br>
> not see it.<br>
> <br>
> Also, you don't have to define a projection in your map file, as long
as <br>
> all your input datasets have the same spatial reference.<br>
> If you plan to reproject on the fly, then you will have to define
this <br>
> parameter.<br>
> <br>
> Kevin<br>
> ______________________________<br>
> <br>
> <br>
> <br>
> Bimal Achary <bimal.achary@gmail.com> <br>
> Sent by: maplab-users-bounces@lists.maptools.org<br>
> 06/08/2005 06:58 AM<br>
> Please respond to<br>
> Bimal Achary <bimal.achary@gmail.com><br>
> <br>
> <br>
> To<br>
> maplab-users@lists.maptools.org<br>
> cc<br>
> <br>
> Subject<br>
> [maplab-users] Map doesn't appear in the map-extent<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> Hi All,<br>
> <br>
> I'm a new user of MapLab-2.2.I belongs
to India.<br>
> <br>
> I have created a map file named "test.map". where i want
to add india<br>
> as a layer.I'm getting every thing correct(Like legend bar,scale<br>
> bar,tools etc) but not getting any view on the map extent.<br>
> <br>
> My shape file is not in any projection system .This is simply <br>
> geo-referenced.<br>
> <br>
> Also i'm not providing any projection system for this.have i to define
<br>
> it??<br>
> <br>
> I have taken the Map extents as it was in the tutorial map file .Have<br>
> i to change this as per the geo-graphic location(though i don't think<br>
> so).<br>
> <br>
> Any-thing wrong am i doing??Kindly tell me the procedure to correct
it.<br>
> <br>
> Thanks to all in advance for the supports.<br>
> <br>
> Regards,<br>
> Bimal Pr.Achary.<br>
> GIS Software Engineer<br>
> UNDP,Orissa<br>
> India<br>
> <br>
> _______________________________________________<br>
> Maplab-users mailing list<br>
> Maplab-users@lists.maptools.org<br>
> http://lists.maptools.org/mailman/listinfo/maplab-users<br>
> <br>
> <br>
><br>
</tt></font>
<br>