[Gfoss] extent mapserver

Marco marcpat a katamail.com
Mar 20 Ott 2009 15:46:33 CEST


Ciao a tutti, ho iniziato ad utilizzare mapserver che funziona
benissimo con la demo, ma se provo ad inserire il mio tif con relativo
file .tfw questi viene tagliato in visualizzazione e se aggiungo un
layer .shp non visualizza + niente.
Penso che il problema sia nei valori del map file EXTENT, ho cercato
dappertutto ma non ho capito cosa mettere esattamente.
I miei dati sono:

file morfo.tif 4162x3907 8-bit (15,5 M
file morfo.tfw contiene:

10.00000000000000
0.00000000000000
0.00000000000000
-10.00000000000000
1691507.20993699990000
4779629.76997500010000

e l'output ogrinfo del file corso.shp è:

C:ms4wappsgmaphtdocs>ogrinfo -summary ..datacorso.shp Corso
INFO: Open of `..datacorso.shp'
using driver `ESRI Shapefile' successful.

Layer name: corso
Geometry: Line String
Feature Count: 508
Extent: (1691505.697035, 4740628.485332) - (1733061.172675, 4779486.999980)
Layer SRS WKT:
PROJCS["Monte_Mario_Rome_Italy_1",
GEOGCS["GCS_Monte_Mario_Rome",
DATUM["Monte_Mario",
SPHEROID["International_1924",6378388.0,297.0]],
PRIMEM["Rome",12.45233333333333],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["False_Easting",1500000.0],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",-3.45233333],
PARAMETER["Scale_Factor",0.9996],
PARAMETER["Latitude_Of_Origin",0.0],
UNIT["Meter",1.0]]

quale extent devo mettere nel file map?


Maggiori informazioni sulla lista Gfoss