Hi,
Just want to share my methode.
What I did with my hybridmap is just drawing ocean layer (shape file)
after draw hillshading. So my XML file as follow:
<Map srs="+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
+units=m +no_defs">
<Layer name="shade" status="on">
<StyleName>shade</StyleName>
<Datasource>
<Parameter name="type">gdal</Parameter>
<Parameter
name="file">/map/srtm/hillshade/indonesia_shade.tif</Parameter>
<Parameter name="format">tiff</Parameter>
</Datasource>
</Layer>
<Style name="shade">
<Rule>
<RasterSymbolizer>
<CssParameter name="opacity">0.7</CssParameter>
<CssParameter name="scaling">bilinear</CssParameter>
<CssParameter name="mode">screen</CssParameter>
</RasterSymbolizer>
</Rule>
<Style name="polyg_ocean">
<Rule>
<PolygonSymbolizer>
<CssParameter name="fill">#97AFD5</CssParameter>
<CssParameter name="fill-opacity">1</CssParameter>
<CssParameter name="gamma">0.7</CssParameter>
</PolygonSymbolizer>
</Rule>
</Style>
<Layer name="polyg_ocean" srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
<StyleName>polyg_ocean</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter
name="file">/map/srtm/hillshade/Indonesia_Ocean.shp</Parameter>
</Datasource>
</Layer>
</Map>
You can see our map at:
http://maps.navigasi.net/index.php?y=-8.40833&x=116.41319&z=10
Buyung Akram
setiap tempat adalah unik, http://www.navigasi.net/
On Sat, Sep 10, 2011 at 9:18 PM, Iain Malcolm <[email protected]>wrote:
> I'm trying to set up a better (for my purposes at least) version of the
> hiking - biking style of render. I've run into the old problem of how to
> handle the coastline, ' cos the standard coastline shapes fill in the land,
> rather than the sea.
>
> I see there was discussion
> here<http://www.mail-archive.com/[email protected]/msg02351.html>about
> this problem, but I haven't found any resolution of this. Anyone know
> of a solution?
>
> Temporarily I'm just rendering height zero as water coloured, which is a
> real kluge, but since I am mostly interested in the hilly bits, is not to
> painful for the time being.
>
> This is what I'm getting so far by combining hillshade with color-relief
> and improved contours.
>
> http://flic.kr/p/akX5mS
>
> I'm running on mapnik 1.7.1 at the moment.
>
> tia Iain
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users