views:

161

answers:

1

Hi, I want to create a simple form on my wordpress site so that people can upload KML files which will then be stored in the db and the route shown on on openlayers map - openstreetmap.

The project is for a hiking site for storing hiking routes.

Any docs for this/ forums / advice. I'm completely new to this map stuff.

Cheers

Andy

A: 

Here is an example of an openstreetmap with a kml overlay done in openstreetmap: http://maps.burningsilicon.net/

Before working through this example, I recommend to read some introductory documentation on openlayers, since its inner workings are not always trivial to understand.

Don't forget to put some restrictions on the uploaded kml files. You should either limit the size and/or the number of nodes, since the huge kml files generated by gps trackers can easily bog the browser down. Alternatively, you can also simplify the uploaded kml files with gpsbabel (http://www.gpsbabel.org/).

If this sounds too complicated to you, Google Maps might be an option.

Franz