Jochen Wagner wrote:
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.
Jo,
No, currently the tileindex is only used to select the right files for
the area of interest. It is still necessary that they have georeferencing
per-file in a form that mapserver (GDAL) can utilize and that does not
include the values from the tile index.
The obvious step is to write a script to produce world files for from the
shapefile. There are some other more complicated options if having the
files without a world file is important to you.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users