[mapserver-users] tileindex without .jgw

Jochen Wagner jochen.wagner8 at googlemail.com
Thu Dec 18 08:25:44 EST 2008


Hi,

I have some airial photos (format is .jpg) without any
georeference-files (.jgw).
But there is a shapefile with with the coordinates of the upper left,
upper right, lower left and lower right coordinates and the rows and
columns (pixels).
The aerialphotos are rectangles but the shapes are trapezoidal.
Is it possible to georeference the files "on the fly" with the
shapefile in mapserver using an image catalog?
If I'm using the tileindex, the arialphotos are not at the correct
position and scaling.

LAYER
    NAME "test"
    STATUS ON
    TILEINDEX "testcat.shp"
    TILEITEM "NAME"
    TYPE RASTER
	CLASS
	 NAME "test"
	END
	PROCESSING "Resample=average"
	OFFSITE 255 255 255
END

Thanks
Jo


More information about the mapserver-users mailing list