[Geomoose-users] From UMT-15 to UMT-32 Projection
armand noel
abasoh at yahoo.fr
Wed Feb 11 04:33:41 EST 2009
Hi,
I want to create a new application with Geomoose on a Windows Xp installation. But it is not working.
My data is in UMT Zone 32 projection. To create the new application I fellow this Step:
1 - I create a new folder in C:\ms4w\apps\GeoMOOSE\maps_countydemo\ call 'departements'
2 - In 'countydemo-configuration.js', I make these changes:
change the line 26 to
var INITIAL_VIEW = '-168958.001,126687.001,1941235.001,1471051.001';
change the line 217 to
var MAP_COORDINATE_SYSTEM = 'UTM-32';
Change the line 379 to
var MAP_MAXSCALE = 1000000000000;
3 - In 'countydemo.xml', I remove all the layer and I add only one layer
<map title="departement" default="true">
<file>/ms4w/apps/GeoMOOSE/maps_countydemo/departements/departement.map</file>
</map>
4 - In 'C:\ms4w\apps\GeoMOOSE\maps_countydemo\departements' folder, i create the MAPfiles with this contain:
depertement.map:
-------------------------------------------
MAP
NAME 'mn_departement'
SIZE 800 650
STATUS ON
EXTENT -168958.001 126687.001 1941235.001 1471051.001
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT TRUE
QUERYMAP
STATUS ON
STYLE SELECTED
END
WEB
QUERYFORMAT "text/xml"
INCLUDE "../temp_directory.map"
END
LEGEND
STATUS ON
END
LAYER
NAME 'departement'
DATA './Departement_region_region.shp'
STATUS DEFAULT
TYPE POLYGON
CLASS
NAME 'departement'
STYLE
COLOR 0 200 0
OUTLINECOLOR 0 0 0
WIDTH 1
END
END
HEADER 'imagemap_header.xml'
TEMPLATE 'imagemap_record.xml'
FOOTER 'imagemap_footer.xml'
END
END ## end Map
---------------------------------------------------
The problem that I have is that no map is displaying?
Have I miss something or another parameter to ajust?
Is there any problem with the projection?
Should I have to write a new 'UMT.js' for UMT-32 to Long/Lat?
Rgrds
Armand Basoh, PMP
Web Develloper
__________________________________________________________________________________________________
Ne pleurez pas si votre Webmail ferme ! Récupérez votre historique sur Yahoo! Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090211/247c0bba/attachment.html
More information about the Geomoose-users
mailing list