Roger,
YES!!! excellent, this worked perfectly...
The documentation doesnt seem to be very clear on how exactly to compose a
mapfile with multiple layers, but looking at your examples, everthing made much
more sense.
Thanks a million for your quick and elaborate help.
You're a life-saver and mapserver guru in my book...
Cheers,
P.Romero
Date: Mon, 5 Jan 2009 08:27:15 -0800From: [email protected]:
[email protected]: Re: [mapserver-users] Need help selecting vector
data sourceCC: [email protected] Paul,This this do what you
needed?Thanks,Roger--
On Sat, Jan 3, 2009 at 11:47 PM, Roger André <[email protected]> wrote:
Hi Paul,This ought to get you started. The "florida.map" is the project
mapfile and looks for the "coastline.map", "lakes.map", and "islands.map"
mapfiles for each of the separate layers. You should just need to change the
path in each of the DATA lines to point at your shapefiles. Attached is the
image this generates, as well as the mapfiles. You'll have to tweak the colors
yourself.Roger--
On Sat, Jan 3, 2009 at 8:47 PM, P.Romero <[email protected]> wrote:
Ok, Ive attached the image…
From: Roger André [mailto:[email protected]] Sent: 2009-01-03 10:28 PMTo:
P.Romero
Subject: Re: [mapserver-users] Need help selecting vector data source
Hi Paul,The image of what you want this to look like didn't come through to the
list. Can you send it to me directly? I'll work up a mapfile that will look
like it for you.Roger--
On Sat, Jan 3, 2009 at 8:16 PM, P.Romero <[email protected]> wrote:
Roger,
Thanks for the advice, I downloaded the 1.6 version.
Another question: I cant seem to find a way to "merge" the two layers: "land"
and "lakes", since their each from a separate shapefile, and are on a separate
layer. Is it even possible to merge the layers? Here's my map file:
MAP
NAME "dd"
UNITS DD
EXTENT -90 20 -60 35
SIZE 600 600
SHAPEPATH "/data/apps/mapserver/shp"
IMAGECOLOR 130 180 200
WEB
IMAGEPATH /var/www/html/images/mapserver
IMAGEURL /images/mapserver
LOG /var/log/maplog
END
LAYER
NAME "gshhs_land"
TYPE POLYGON
STATUS ON
DATA "gshhs_land.shp"
CLASS
STYLE
COLOR 240 240 230
OUTLINECOLOR 240 240 230
END
END
END
END
LAYER
NAME "gshhs_lake"
TYPE POLYGON
STATUS ON
DATA "gshhs_lake.shp"
CLASS
STYLE
COLOR 130 180 200
END
END
END
END
The first layer seems to simply overlap and cover the second layer.Im not sure
how to set the transparency of a layer (I read through the documentation, but
it wasn't very clear).
Basically, I want land a beige color, and oceans (background) and bodies of
water (polygons from the "lakes" shapefile) to be a blue color.
What should I do? Do this require something drastic, like merging the land &
lakes shapefiles, or something like this?
Please help,
Thanks,
P.Romero
From: Roger André [mailto:[email protected]] Sent: 2009-01-03 8:43 PMTo: Pablo
RomeroCc: [email protected]: Re: [mapserver-users] Need
help selecting vector data source
Version 1.6 of the gshhs shapefiles are polygon features. You can find them at
ftp://ftp.ihg.uni-duisburg.de/GIS/GISData/GSHHS/--
On Sat, Jan 3, 2009 at 4:42 PM, Pablo Romero <[email protected]> wrote:
hello,I need help selecting a datasource to produce the following: a basic,
high-resolution land map, showing ONLY coastlines and bodies of water.
basically, Im trying to emulate a type of image tiling that I found on another
site, which I believe is also being produced using mapserver, but Im unsure
about which data source/shapefile is being used. Ive ATTACHED the image. You
can see that image includes a high-resolution map of the florida coast,
including interior bodies of water. Ive tried using the "admin98.shp" and
"world_vector_shorelines.shp" in order to recreate these results, but these two
shapefiles dont include interior bodies of water (lakes, ponds, etc.). Ive ALSO
tried using the gshhs shapefiles
(http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html), and these *seem* like
they might work, but they are broken up into separate shapefiles for coastal
outline, lakes, ponds, etc., and these shapefiles are IN LINES instead of
POLYGONS/POLYLINES, so I cannot figure out how to "fill" the space between
"lines" with a different color in order to make the landmasses and interior
bodies of water "stand out". So, simply put, my question is: can someone please
help me figure out / recommend which data source I should use in order to
produce output similiar to the image Ive attached? just high-resolution coastal
outline and interior bodies of water IN decimal degrees (WGS1984?), please
help.... P.Romero
It's the same Hotmail®. If by "same" you mean up to 70% faster. Get your
account now.
_______________________________________________mapserver-users mailing
[email protected]http://lists.osgeo.org/mailman/listinfo/mapserver-users
_________________________________________________________________
Send e-mail anywhere. No map, no compass.
http://windowslive.com/oneline/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users