[Geomoose-users] Fwd: Tiles Jp2 files.
Nelson Soto
nellyfromma at gmail.com
Tue Apr 8 09:40:58 EDT 2008
---------- Forwarded message ----------
From: Nelson Soto <nellyfromma at gmail.com>
Date: Tue, Apr 8, 2008 at 9:33 AM
Subject: Tiles Jp2 files.
To: geomoose-developers at lists.sourceforge.net
I want to host my own Ortho Aerial photos as the MassGIS WMS is really
slow for processing this. I have downloaded 6 Tiles and have run
gdaltindex to create my shapefile. I have made sure the dbf points to
my fiels correctly. I tend to test my layers by loading the mapfile
into the mapserv.exe shortcut in my browser.
[http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/geomoose/maps_test/ortho2k5/ortho2k5.map&layer=ortho2k5&mode=map]
This loads up my background with all 6 tiles as intended. This is the map file:
MAP
NAME 'ortho2k5'
SIZE 800 650
STATUS ON
EXTENT 201000.000000 874000.000000 213000.000000 882000.000000
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT FALSE
IMAGETYPE PNG
QUERYMAP
STATUS OFF
END
WEB
INCLUDE "/ms4w/apps/GeoMOOSE/maps_test/web_config.map"
END
LEGEND
STATUS OFF
END
LAYER
NAME "ortho2k5"
STATUS ON
TILEINDEX "ortho2k5.shp"
TILEITEM "Location"
TYPE RASTER
END
END ## end Map
When I add the layer into the mapbook as usual, the layer does appear
in the list, but when I check it off the time elapsed is way to short
and the image does not display. These extents are similar to the
shapefile extents of my other layers, and I have zoomed out very far
just to see if they were just not rendered anywhere near my other
layers. The projection of the ortho's and my other layers are the
same. When using firebug I can determine that the src of mapserv when
this layer is on is:
/cgi-bin/mapserv.exe?map=/ms4w/apps/geomoose/maps_test/ortho2k5/ortho2k5.map&mapext=201203.84999999998
875588.9187058823 210743.51 880583.2112941176&mapsize=680
356&mode=map&MOOSETIME=1207661017690&layers=
I notice the layers key is blank. when running this in the browser
with layer set to 'ortho2k5' , then it is drawn correctly. My question
is how do I pass the 'layer' variable through? I noticed on my Polygon
layers it is also blank but I guess this means it draws all layers?
More information about the Geomoose-users
mailing list