I'd like to use OSM in a webapp (java) to a) let the user draw a network topology on a map and record it b) show the topology when requested by the user (i.e. use the recorded coordinates)

Here is an example with GoogleMaps: http://docs.zkoss.org/wiki/Construct_A_Telecom_Network_Graph_On_Google_Maps

I'd like to understand what is possible with current API's, and I can contribute to OSM by developing a ZK-component that uses OSM in stead of gM

Thanks for any useful hints and pointers!

asked 21 Sep '10, 09:20

mhogendoorn's gravatar image

mhogendoorn
1111
accept rate: 0%


Generally, such questions should better be asked on the OSM developer mailing list where they will reach a wider technical audience.

It seems to me that the quick answer to your question is that you'll need OSM tiles (freely available), the OpenLayers JavaScript library (to display tiles and allow the user to draw stuff - requires some Javascript coding on your part to make things happen) plus some server-side component that stores whatever you have drawn (e.g. FeatureServer). Or you might be able to use a complete framework like MapFish. I don't know what "zk" is or in how far this might already have some of the components you need. All of this has, however, little to do with OSM as the only thing you'll use from OSM are the map tiles; all the other "API" stuff you'll be using is not OSM.

link

answered 21 Sep '10, 11:15

Frederik%20Ramm's gravatar image

Frederik Ramm
38.2k48372605
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×42
×28
×9
×8
×1

Asked: 21 Sep '10, 09:20

Seen: 3,343 times

Last updated: 16 May '12, 19:17

powered by OSQA