[Mapserver-users] EXTENT of map object

Damian Schroder map_surfer at yahoo.com
Fri Oct 10 06:29:55 PDT 2003


--0-460356052-1065792595=:12498
Content-Type: text/plain; charset=us-ascii

Mukta- 
In theory you should be able to use pixel coordinates for extents. If your jpeg or tif was 500 by 500 pixels, try 0 0 500 500 for your extents.However since there is no UNITS directive for pixels, you will not be able display scale or a scalebar correctly (so you can ommit the UNITS directive). 
 
Damian

Mukta Telang <mukta at darya.nio.org> wrote:
Hi,
The mapfile reference describes EXTENT as the spatial extent of the map
to be created. I dont have data in shapefile or any other format. All I
want to do is display an image in tiff/jpeg format which the user should
be able to zoom by clicking on some points. How do I find EXTENT of map
in this case?
Thanks in advance,
Mukta
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
--0-460356052-1065792595=:12498
Content-Type: text/html; charset=us-ascii

<DIV>Mukta- </DIV>
<DIV>In theory you should be able to use pixel coordinates for extents. If your jpeg or tif was 500 by 500 pixels, try 0 0 500 500 for your extents.However since there is no UNITS directive for pixels, you will not be able display scale or a scalebar correctly (so you can ommit the UNITS directive). </DIV>
<DIV> </DIV>
<DIV>Damian<BR><BR><B><I>Mukta Telang <mukta at darya.nio.org></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR>The mapfile reference describes EXTENT as the spatial extent of the map<BR>to be created. I dont have data in shapefile or any other format. All I<BR>want to do is display an image in tiff/jpeg format which the user should<BR>be able to zoom by clicking on some points. How do I find EXTENT of map<BR>in this case?<BR>Thanks in advance,<BR>Mukta<BR>_______________________________________________<BR>Mapserver-users mailing list<BR>Mapserver-users at lists.gis.umn.edu<BR>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users</BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://shopping.yahoo.com/?__yltc=s%3A150000443%2Cd%3A22708228%2Cslk%3Atext%2Csec%3Amail">The New Yahoo! Shopping</a> - with improved product search
--0-460356052-1065792595=:12498--



More information about the MapServer-users mailing list