Hi Tucker,<br><br>My experience using the techniques that Frank's described below ("burn" away areas of non-interest using gdal_rasterize, then layer separate raster layers in Mapserver) has been very good. The one additional piece that I have used is TileCache, so that I can generate PNG tiles for display in Google Maps. Of especially great value to me has been Mapserver's ability to display data sets together which often differ in their projections.<br>
<br>One thing I would advise you to do first is to display 2 different data sets that overlap, in 2 different projections, in a simple mapfile. Then check that the reprojection is working properly and that features line up.<br>
<br>Sounds like a neat project,<br><br>Roger<br>--<br><br><br><div class="gmail_quote">On Mon, Nov 10, 2008 at 10:50 AM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">tuckeratwork wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What information do you have now defining the regions for the<br>
cutouts? Are<br>
you expecting to need to manually define polygons for these by<br>
digitizing? <br>
First, wow - I'm getting answers from the source! I'm sorry to bother you with such trivial questions.<br>
</blockquote>
<br>
Tucker,<br>
<br>
The questions are not at all trivial, though possibly hard to give<br>
solid answers for.<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, I expect to write a quick digitizing program to define the boundaries and cutouts. There's some other meta data I need to collect too. The borders aren't in the header like the BSB/KAP files.<br>
I'll definitely check out the gdal_rasterize utility - that's the exact kind of advice I was looking for. I'm a developer and don't mind writing custom code if needed with gdal, etc.<br>
</blockquote>
<br>
The utility is available as part of GDAL and is documented at:<br>
<br>
<a href="http://www.gdal.org/gdal_rasterize.html" target="_blank">http://www.gdal.org/gdal_rasterize.html</a><br>
<br>
Note the -i flag to invert the sense of what is inside or outside.<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How about the quilting aspects of it all? Will I get the type of tile results that GeoGarage got? I'm not really sure how they did what they did - perhaps they used MapServer too...<br>
</blockquote>
<br>
MapServer should be able to quilt images fairly well if you can burn away<br>
all the stuff you don't want to show, and then order them as you want them<br>
layered. If the images are not all in the same coordinate system you may<br>
need to use multiple LAYER's for them otherwise you can just dump them into<br>
a tileindex (ie. shapefile) with some care to ordering.<br>
<br>
When burning away uninteresting parts of the images make sure you burn them<br>
out to a particular value that can be used as the OFFSITE value in your<br>
LAYER definition - assuming you don't go the alpha transparency route which<br>
is somewhat involved.<br>
<br>
What you want to do should be achievable but may be somewhat challenging.<br>
I'm not sure that it is critical to do it through mapserver. You could<br>
likely achieve something similar by creating a suitable mosaic image, and<br>
gdalwarp'ing the individual maps into that in a suitable order (after<br>
appropriate masking).<br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Programmer for Rent<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>