Upload the KML file to the database and display OpenLayers on the map

I want to create a simple form on my Wordpress website so that people can upload KML files which will then be stored in db and the route shown on the openlayers map is openstreetmap.

The project is intended for a tourist place for storing tourist routes.

Any docs for this / forums / tips. I am completely new to this map.

Greetings

Andy

+3
source share
3 answers

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

, openlayers, .

kml. / , kml, gps-, . , kml gpsbabel (http://www.gpsbabel.org/).

, Google Maps .

+4

OpenStreetMap, - . KML , - OSM, OSM.

+1

I highly recommend you read this book: OpenLayers 2.10 Beginner's Guide 2011 Eric Hazzard.

For beginners like you, this book offers many documents with a corresponding example regarding a KML file.

And for the database you can use PostgreSQL 9.0. Just helping. Good luck.

+1
source

Source: https://habr.com/ru/post/1759224/


All Articles