[Geomoose-users] (no subject)
Athanasis Nikolaos
athanasis at geo.aegean.gr
Tue Nov 6 13:43:19 EST 2007
Thank you very much for all your responses, however it is impossible to make Geomoose work with my data.
when I follow the how-to : "Basic How to Add Your Own Data Layers"
(from the URL:http://www.geomoose.org/moose/documentation/how-tos/basic-how-to-add-your-own-data-layers) then everything seems ok and I can successfully add a new shp file (from the MN DNR data deli).
Then I try to remove all map layers from the demo and add my own map elements for my own data.
Thus:
I created a new folder called aktogrammi under maps_statedemo folder where I put the data about a shapefile called aktogrammi (.shp, .prj, .sbn, .sbx, .dbf, .shx files)
Then, I added the following
<map title="aktogrammi" default="true">
<file>/ms4w/apps/GeoMOOSE/maps_statedemo/aktogrammi/aktogrammi.map</file>
</map>
into the statedemo.xml file
I removed all <map> elements in the statedemo.xml files that corresponded to the existing map layers
( from '<map title="County Map" ' to 'map title="USGS 7.5' Quads" ' )
the aktogrammi.map file is the following:
MAP
NAME 'test_please_run!'
SIZE 800 650
PROJECTION
'init=epsg:2100'
END
STATUS ON
EXTENT 654482.650706199 4310740.53966996 729748.549950696 4366667.28424747
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT TRUE
IMAGETYPE PNG
QUERYMAP
STATUS ON
STYLE SELECTED
END
WEB
INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map"
END
LEGEND
STATUS ON
END
LAYER
NAME 'aktogrammi'
DATA './aktogrammi.shp'
STATUS on
TYPE Polygon
CLASSITEM 'OBJECTID'
CLASS
NAME 'aktogrammi'
STYLE
COLOR 255 255 255
OUTLINECOLOR 115 223 255
END #STYLE
END #CLASS
END #LAYER
END ## end Map
I put the aktogrammi.map file in the aktogrammi folder.
However, it does not work and unfortunatelly the log file of apache does not help at all.
You can see the picture of my problematic application in the URL
http://195.251.137.181/geomoose/statedemo2.html
What could be the reason for this?
I really thank you in advance!
Athanasis Nikolaos
Adjunct Faculty and Ph.D. Candidate,
Department of Geography and Department of Cultural Technology and Communication
University of the Aegean
University Hill
81100 Mytilene, GREECE
TEL +30-22510-36436
________________________________
Από: Jim Klassen [mailto:Jim.Klassen at ci.stpaul.mn.us]
Αποστολή: Τρι 6/11/2007 5:19 μμ
Προς: Athanasis Nikolaos; Geomoose-users at lists.sourceforge.net
Θέμα: Re: [Geomoose-users] (no subject)
It is UTM-15N.
The projection support in GeoMoose has been developed on an as needed basis. Currently it is only used for two things. The first is displaying the lat-long in status bar at the bottom of the page. The second is if you invoke any services which require a lat-long input.
If you want to add your own projection you can start here: http://www.geomoose.org/moose/documentation/how-tos/how-to-add-your-own-projection/ Basically, it involves writing a javascript function that takes in your coordinate pairs and returns lat-long.
The imagery, identify and select tools are all controlled by Mapserver which has fairly good projection support through the Proj.4 library. GeoMoose just passes through what Mapserver returns, so there shouldn't be any problems with the core functionality.
>>> On 11/5/2007 at 4:52 PM, "Athanasis Nikolaos" <athanasis at geo.aegean.gr> wrote:
Hello list!
I am a totally new user of GeoMoose. I believe that it is the best MapServer client.
My question is the following: In the stateconfiguration.xml file, I must change the "var MAP_COORDINATE_SYSTEM = 'UTM-15';" variable and specify a different projection system (my data are in the GGRS87 projection system).
1.
What exactly is the projection system of UTM-15 (maybe UTM Zone 15N or maybe UTM Zone 15S?) ?
2.
Do I have to change the MAP_COORDINATE_SYSTEM variable?What are its valid values?
The log file does not specify anything about what is going wrong.
I really thank you in advance,
Athanasis Nikolaos
Adjunct Faculty and Ph.D. Candidate,
Department of Geography and Department of Cultural Technology and Communication
University of the Aegean
University Hill
81100 Mytilene, GREECE
TEL +30-22510-36436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20071106/39021c42/attachment.html
More information about the Geomoose-users
mailing list