[Geomoose-users] Geomoose 2.0 first trial, UTM33 maps

g.stanca at tiscali.it g.stanca at tiscali.it
Wed Sep 16 04:55:57 EDT 2009


Hi everybody,
I'm really new to GeoMoose, and to MS4W, too, but I work 
with GIS programs from 1997.
Now I'm triyng to create a first attempt 
MapServer instance, containing data and shapes of Italy.
when I try to 
modify the demo included in GeoMoose 2.0 for a projections =UTM33, 
EPSGS32633 and the extrent of my Italia_basebap.map I obtain an empty 
geomoose frame. 

So, where am I wrong?

I add Italia_basemap.map for 
reference

Thanks

Giuseppe Stancanelli
Italy


_______________________________________________
# Map file created from 
QGIS project file ./PTCA/QGis/Italia_base.qgs
# Edit this file to 
customize for your map interface
# (Created with PyQgis MapServer 
Export plugin)
MAP
  NAME italia_base
  # Map image size
  SIZE 800 600

  UNITS meters

  EXTENT -1036058.791421 3861358.479159 1677393.009512 
5288053.891473
  PROJECTION
    "proj=utm"
	"zone=33"
	"ellps=WGS84"
	
"datum=WGS84"
	"units=m"
	"no_defs"
  END

  # Background color for the 
map canvas -- change as desired
  IMAGECOLOR 192 192 192
  IMAGEQUALITY 
95
  IMAGETYPE gif
  OUTPUTFORMAT
    NAME gif
    DRIVER 'GD/GIF'
    
MIMETYPE 'image/gif'
    #IMAGEMODE PC256
    EXTENSION 'gif'
  END
  # 
Legend
  LEGEND
      IMAGECOLOR 255 255 255
    STATUS ON
    KEYSIZE 
18 12
    LABEL
      TYPE BITMAP
      SIZE MEDIUM
      COLOR 0 0 89

    END
  END

  # Web interface definition. Only the template 
parameter
  # is required to display a map. See MapServer documentation

  WEB
    # Set IMAGEPATH to the path where MapServer should
    # 
write its output.
    IMAGEPATH '/tmp/'

    # Set IMAGEURL to the url 
that points to IMAGEPATH
    # as defined in your web server 
configuration
    IMAGEURL '/tmp/'

    # WMS server settings
    
METADATA
      'wms_title'           'italia_base'
      
'wms_onlineresource'  'http://my.host.com/cgi-bin/mapserv?map=wms.map&'

      'wms_srs'             'EPSG:4326'
    END

    #Scale range at 
which web interface will operate
    # Template and header/footer 
settings
    # Only the template parameter is required to display a 
map. See MapServer documentation
  END

  LAYER
    NAME 'Italia'
    
TYPE POLYGON
    DATA './PTCA/shape/italia.shp'
    METADATA
      
'wms_title' 'Italia'
    END
    STATUS DEFAULT
    TRANSPARENCY 100

    PROJECTION
    "proj=utm"
	"zone=33"
	"ellps=WGS84"
	"datum=WGS84"
	
"units=m"
	"no_defs"
    END
    CLASS
       NAME 'Italia' 
       
STYLE
         SYMBOL 0 
         SIZE 2 
         OUTLINECOLOR 0 0 0

         COLOR 144 50 207
       END
    END
  END

  LAYER
    NAME 
'Regioni'
    TYPE POLYGON
    DATA './PTCA/shape/regioni_utm.shp'
    
METADATA
      'wms_title' 'Regioni'
    END
    STATUS DEFAULT
    
TRANSPARENCY 100
    PROJECTION
    "proj=utm"
	"zone=33"
	
"ellps=WGS84"
	"datum=WGS84"
	"units=m"
	"no_defs"
    END
    CLASS

       NAME 'Regioni' 
       STYLE
         SYMBOL 0 
         SIZE 2 

         OUTLINECOLOR 0 0 0
         COLOR 150 123 90
       END
    
END
  END

  LAYER
    NAME 'Province'
    TYPE POLYGON
    DATA '.
/PTCA/shape/Province_utm.shp'
    METADATA
      'wms_title' 'Province'

    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    
"proj=utm"
	"zone=33"
	"ellps=WGS84"
	"datum=WGS84"
	"units=m"
	
"no_defs"
    END
    CLASS
       NAME 'Province' 
       STYLE

         SYMBOL 0 
         SIZE 2 
         OUTLINECOLOR 0 0 0

         COLOR 229 210 191
       END
    END
  END

  LAYER
    NAME 
'Comuni'
    TYPE POLYGON
    DATA './PTCA/shape/Comuni.shp'
    
METADATA
      'wms_title' 'Comuni'
    END
    STATUS DEFAULT
    
TRANSPARENCY 100
    PROJECTION
    "proj=utm"
	"zone=33"
	
"ellps=WGS84"
	"datum=WGS84"
	"units=m"
	"no_defs"
    END
    CLASS

       NAME 'Comuni' 
       STYLE
         SYMBOL 0 
         SIZE 2 

         OUTLINECOLOR 0 0 0
         COLOR 45 220 182
       END
    
END
  END

  LAYER
    NAME 'Strade principali'
    TYPE LINE
    DATA 
'./PTCA/shape/strade_principali.shp'
    METADATA
      'wms_title' 
'Strade principali'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    
PROJECTION
    "proj=utm"
	"zone=33"
	"ellps=WGS84"
	"datum=WGS84"
	
"units=m"
	"no_defs"
    END
    CLASS
       NAME 'Strade principali' 

       STYLE
         SYMBOL 0 
         SIZE 2 
         OUTLINECOLOR 
131 78 4
         COLOR 0 0 0
       END
    END
  END

  LAYER
    
NAME 'FFSS'
    TYPE LINE
    DATA './PTCA/shape/ffss.shp'
    METADATA

      'wms_title' 'FFSS'
    END
    STATUS DEFAULT
    TRANSPARENCY 
100
    PROJECTION
    "proj=utm"
	"zone=33"
	"ellps=WGS84"
	
"datum=WGS84"
	"units=m"
	"no_defs"
    END
    CLASS
       NAME 
'FFSS' 
       STYLE
         SYMBOL 0 
         SIZE 2 
         
OUTLINECOLOR 24 93 38
         COLOR 0 0 0
       END
    END
  END

END


Il mutuo? Online risparmi!

Confronta le offerte di 40 banche con tassi esclusivi. Consulenza gratuita ed indipendente. 



http://finanza.tiscali.it/mutui.aspx




More information about the Geomoose-users mailing list