[mapserver-users] MAP EXTENT

E Perik erwin at perik.nu
Thu Apr 11 13:51:17 EDT 2002


Stefano,

You might want to use shapechk.exe if you want to get the extents of a
shapefile.

Look for info at:
http://www.dnr.state.mn.us/mis/gis/tools/arcview/tipsheets/Tip5.html
And download shapechk.exe from:
http://www.geocities.com/SiliconValley/Haven/2295/howto_shapechk.html

Then take the 'biggest' shape file and get the EXTENT using shapechk.exe
and put those settings in your map-file.

Erwin

-----Original Message-----
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu] On Behalf Of Stefano
Bonnin
Sent: Thursday, April 11, 2002 4:43 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] MAP EXTENT

I have yet presented this problem but nobody answered me, please:

say me if this is a too stupid question ...

I have a map (North Italy) and I'm trying to display it with Mapserver.
The map is displayed but only a "fragment" of the map appear on the
screen.
If I want to see the remainder of the map I have to use the pan
function.

How can I do in orther to view all the map?

This is my map file (a fragment):

NAME DEMO
STATUS ON
SIZE 600 600
EXTENT 6.174567 42.975424 14.815678 47.143435

UNITS DD
SHAPEPATH "data"
IMAGECOLOR 255 255 255
SYMBOLSET "/Program Files/Apache
Group/Apache/htdocs/Nord/symbols/symbol.sym"
FONTSET "/WINNT/Fonts/fonts.list"

If I try to modify the EXTENT nothing happen, another fragment of the
map is
displayed (but not the entire map)

Somebody can help me? I hope so ......


Thanks,

Stefano B.


---
Outgoing mail is certified Virus Free. (FLASHH!)
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.345 / Virus Database: 193 - Release Date: 09/04/02




More information about the mapserver-users mailing list