Thanks Marcin, that explains it.  Will take the time to work through the other 
information you provided - sure to need it sooner or later.

Cheers
Adam
________________________________________
From: Marcin Rudowski [[email protected]]
Sent: 07 October 2009 20:38
To: Adam Ratcliffe
Cc: [email protected]
Subject: Re: [Mapnik-users] Black 1px border around hillshade images

2009/10/7 Adam Ratcliffe <[email protected]>:
>  Looking at the hillshade image there appears to be a black 1px border
> around the image.
> Could this be the source of the problem?  Has anybody else seen and found a
> resolution for the issue?

Sorry, forget about that and this is the actual source of the problem.
Way demtools works, it leaves black border on 2 edges of generated
images (upper and left). Solution: add margin while merging and after
demtool cut border with gdal (-te and probably gdal_translate). Use
enough margin to have some overlapping after cutting edges, to avoid
holes. My previous mail describes in fact situation of such holes or
misalignment, when two rasters doesn't meet smoothly.


--
Marcin Rudowski
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to