Myths on Maps

  • Log in
  • « Title madness
  • Progress on vector features »

Injecting dynamic features - MySQL geometry

Posted by gregster on 07 May 2010 in Activity log

I have dynamically injected features to a single vector layer working now, and can store EPSG:4326 co-ordinates in an array and transform them on the fly to EPSG:900913 co-ordinates. I've settled on some form of JSON to pass the arrays (from the DB) to the map, as it appears to be the easiest way to add the array to my existing layer. Using anything else requires contortions or its own layer. The downside of GeoJSON seems to be that it doesn't seem to have the ability to store info like titles and links (CDATA, basically). I can make up my own, but...

I'm now working on a development version of the DB so I don't blow anything up.
Docs here should provide some info for creating the polygons.
Questions: in our case am I working with actual polygons or can I get away with a delimited set of coordinates?
I'm not using MySQL to determine things like area or length, so is using the spatial extensions a waste of time?

This entry was posted by Greg and filed under Activity log.

Myths on Maps

This project will focus on deploying an interactive map of Europe with overlays for Greek and Roman myths, history, people and events.
SVN instructions for MoM editors
Development URL
HCMC Blogs home
  • Archives
  • Categories

Search

XML Feeds

  • Atom: Posts
  • RSS 2.0: Posts
What is RSS?

This collection ©2023 by admin • Help • Bootstrap CMS