[Benchmarking] Plan for handling blank tiles
dmorissette at mapgears.com
Fri Aug 20 15:50:22 EDT 2010
Iván Sánchez Ortega wrote:
> On Wednesday 18 August 2010 23:44:47 Jeff McKenna wrote:
>> - Ivan will provide a shapefile that contains the existing extents to
>> use for the raster data (Ivan can you point me to this shapefile?)
> This administrative boundary file should do the trick:
FYI Alan is on this. He should have the new script for you by Monday.
What we're doing is adding a '-filter_within <filename>' option to
wms_request.py (where filename is CCAA.gml in this case, but any
supported OGR format will work as filter file).
The geometry of the first record of this file is loaded and we will
ensure that all bboxes generated fall 'within' this geometry. If you'd
prefer an 'intersect' test please let us know... it's not more work.
The rest of the script will remain unchanged. One caveat is that you'll
have to ensure that the filter file is in the same SRS as the
coordinates specified to the '-region minx miny maxx maxy' arg... there
is no provision for handling SRS in the bbox generator script.
Oh, and for the rasters I presume we will need another filter file since
you do not have coverage for the full country, right?
More information about the Benchmarking