User:Mr.Z-man/geodata

Geodata extension:

Database table:

  • pageid
  • lat
  • long
  • type (building/city/lake etc)
  • altitude?
  • polygons? lines? vectors?

On articles:

  • autodisplay somewhere - should be overridable in the pagetext, can we put it in the current location without absolute positioning hacks?
  • display inline with {{GEODATA}}, allow data from other pages with {{GEODATA:PAGENAME}}
  • Link to edit data: In toolbox, on editform
  • embed as metadata in HTML

action=editgeodata:

  • Form to add/edit lat/long, etc. for the article
  • Just build this into the main editform perhaps?

Special page:

  • Allow searching for articles based on distance from a point, rectangles, etc.
  • Move the toolserver geohack stuff to here
  • Some sort of map would be really cool
  • KML export

Config:

  • Allowed types with corresponding scales

Other:

  • API module(s)
  • Integrate into main search form
  • Store data in memcached
  • ???
  • Profit!