Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] (UDIG-1991) JGTtmsRenderMetricsFactory disabled

Issue Type: Bug Bug
Affects Versions: UDIG 1.4.1
Assignee: Unassigned
Components: admin, community jgrass
Created: 25/Apr/13 4:57 AM
Description:

Disabled JGTtmsRenderMetricsFactory until the renderer functionality can be restored.

The renderer requires two calculations to be implemented:

  • Generate the tile index for a lat/lon and zoomLevel with tile size

Look up the tile index for the provided lat / lon assuming Spherical Mercator.

Tile index is based the common web mapping convention of starting at -180,-90 and dividing the world up into tiles based on zoom level. This technique is used by WMS-C, Google Maps and other services. The initial tile is based on the equatoral raidus for the earth from http://en.wikipedia.org/wiki/Figure_of_the_Earth

Parameters:

  • lat
  • lon
  • zoom
  • tileSize Used to determine resolution

Returns:

  • tile index (array of i,j for col and row)
  • swap the tile index orientation to generate correct filename

    Swap the tile index orientation between bottom left and top left. Implementations start counting from either bottom left and top left. This method can swap between these two orientation.

    Parameters:

    • i column of tile
    • j row of tile that needs to be swaped
    • zoomLevel

    Returns:

    • tile index for TMS
Project: uDIG
Priority: Major Major
Reporter: Jody Garnett
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Back to the top