Dashboard > GEE 3 > ... > Internals > Maps
  GEE 3 Log In | Sign Up   View a printable version of the current page.  
  Maps
Added by Philip Crotwell, last edited by Philip Crotwell on Dec 05, 2005
Labels: 
(None)

Maps

Use Geotools where we can, but write our own renderer

OpenMap is still there as a backup plan

Initial test case will be a simple application that:

  • reads a shapefile, using geotools shapefile reader
  • projects to a lat,lon=x,y system. We want real projections later, but keep the initial test case simple
  • draw to the natural shape file coordinate system. This is likely -180, 180
  • draw to another coordinate system, perhaps 0,360
  • implement drag on the map to just redraw speed

Cut line

The code will probably have something that does:

drawline(float lat, float lon, float lat2, float lon2) {
   if ( intersectsCutLine()) {
       drawLeft(lat, lon, lat2, lon2);
       drawRight(lat, lon, lat2, lon2);
   } else {
       draw(lat, lon, lat2, lon2);
   }
}

Might be nice if this could use bounding boxes on shapefiles to decide if the if is needed on a big chunk instead of each individual line segment

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators