[Mapserver-users] Enhancement for tiling files in multiple coordinate systems

Daniel Morissette morissette at dmsolutions.ca
Sat Apr 26 11:19:30 EDT 2003


Brent Fraser wrote:
> 
> I don't mind doing my suggested enhancement to Mapserver, but it's 
> going to break every existing map file currently using TILEINDEX if I
> remove that keyword and introduce the TILE object.  I guess I could
> just add the TILE object instead and keep the TILEINDEX around for
> backwards compatibility.  Having two similar methods of doing one
> thing tends to make confusing documentation.  Or maybe I could just
>  add a TILEINDEXPROJECTION object (yuck!).
> 

How about this: the PROJECTION object defines the projection of the
tileindex file and you add a new "TILEPROJECTIONITEM" parameter to the
layer that can either be the name of a field containing the projection
definition for each tile, or could be set to "AUTO" to indicate that
each file in the tiled dataset carries its own projection information.

This solution would be backwards compatible, and would also work for
shapefiles or other data sources that don't have any way to carry a
projection definition.

BTW, we are trying to stabilize the current development version of
MapServer to release it (hopefully before the MUM), so if you are going
to implement this then I suggest that you do it as soon as possible, if
you decide to wait until after the release then perhaps it should be
filed as an enhancement in bugzilla.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list