0

Utiliser gdal2tiles

Posted by Vincent Bonnal on 22 août 2009 in géomatique

gdal2tiles est un programme python qui permet de tuiler une grosse image raster. Il génère un répertoire avec des tuiles TMS, un KML et des visualisateurs web simples. Pour l’utiliser, téléchargez FWTools (http://fwtools.maptools.org/) A titre personnel, voilà la commande que j’utilise: C:\Program Files\FWTools2.2.6>python .\bin\gdal2tiles.py -title « mon essai » -publishurl http://localhost/monsite/ -v « C:\mosa1.tif » « C:\monsite » ou directement C:\Program [...]

Mots-clefs :,

 
0

Mapserver, PostGis et les mots de passe…

Posted by Vincent Bonnal on 18 août 2009 in géomatique

Lorsqu’on utilise Mapserver avec PostGIS, il faut créer dans le mapfile l’objet LAYER sous cette forme: LAYER NAME « Word » PROJECTION « init=epsg:4326″ END STATUS ON METADATA « wms_title » « Le monde » « wms_feature_info_mime_type » « text/html » « wms_include_items » « all » « wms_srs » « epsg:4326″ END CONNECTIONTYPE POSTGIS CONNECTION « host=127.0.0.1 dbname=lupis password=toto user=postgres » DATA « the_geom FROM (SELECT id, name, the_geom FROM spatial_reference_unity ) AS QUERY USING [...]

Copyright © 1969-2010 La famille Bonnal dans un coin de territoire All rights reserved.
Desk Mess Mirrored v1.7.2 theme from BuyNowShop.com.