[mapserver-users] How to add ocean.map in the basemaps build before make osm-google.map?

Andrey Maraev asmaraev at gmail.com
Thu Jan 24 04:42:54 PST 2013


Hello guys!
I need your help with my quest!
I want to add in my basemaps build a new layer which is a global water.  It
is just the polygon with blue color which has 4 points. Where and how to
should I do this? I've already done ocean.map and put it on basemaps
directory.
It looks like:
LAYER
  NAME "ocean"
  GROUP "default"
  STATUS ON
  TYPE POLYGON
  PROJECTION
    "init=epsg:3857"
 END
  METADATA
      "wfs_title"         "World ocean" ##REQUIRED
      "wfs_srs"           "EPSG:3395" ## REQUIRED
    END
  FEATURE
    POINTS -20037508.3428 -15496570.7397 20037508.3428 -15496570.7397
20037508.3428 18764656.2314 -20037508.3428 18764656.2314 -20037508.3428
-15496570.7397 END
  END
  CLASS
    STYLE
      COLOR "#99B3CC"
    END
  END
END

Should I change generate_style.py before a making osm-google.map?
P.S I know about IMAGECOLOR parameter with transparent=off but I have a
problem with transparency mode. My client has always TRANSPARENT=TRUE. As I
know if TRANSPARENT enable IMAGECOLOR will be disable.
-- 
lernen,lernen und lernen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130124/c6513707/attachment.htm>


More information about the MapServer-users mailing list