[mapserver-users] tileindex without .jgw

Frank Warmerdam warmerdam at pobox.com
Thu Dec 18 11:20:37 EST 2008


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, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list