[mapserver-users] Re: quick question from mapserver beginner!

Lisa Gaudette lgaudette at ehealthinformation.ca
Thu May 13 15:01:26 EDT 2010


The Extent value represents the portion of the world represented by the
image, and you have provided a very large portion of the world as that
extent. The size represents the size in pixels of the output image. Changing
the extent will change the portion of the world covered, while changing the
size will change the level of detail available (i.e. a 100x100 picture of
the world would be able to show far more than a 10x10 picture, which
wouldn't show much of all). You're going to want to specify that to be much,
much, smaller, and somehow based around GPS coordinates or something, which
for a house are going to need to be specified to many decimal places.

Also, you're going to need to georeference the input image through a similar
mechanism; either through a world file or a GDAL Vrt file (or using
something like GEOTiff with built in georeferencing). You might look into
just having OpenLayers display the images through a vector layer of some
sort (e.g. KML) and center them around a point if you just need approximate
locations and aren't going for some sort of seamless mosaic. That wouldn't
involve mapserver at all. Getting accurate georeferencing for aerial photos
would take a fair bit of work (I think that involves lining up several GPS
points?).

There's an option in the Outputformat to specify transparency to fix the
black issue.

Hopefully that points you in the right direction, I don't know much about
georeferencing images like that.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/quick-question-from-mapserver-beginner-tp5040040p5047624.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list