[Oskari-user] FW: Need Help
Aarnio Timo (MML)
timo.aarnio at maanmittauslaitos.fi
Thu Apr 4 04:43:57 PDT 2019
Classic, I replied using the reply-function and the list was omitted. Posting this on the list as well for future generations.
Cheers,
Timo
From: Aarnio Timo (MML)
Sent: torstai 4. huhtikuuta 2019 13.40
To: 'SACHIN GUPTA' <sachingupta2206 at gmail.com>
Subject: RE: [Oskari-user] Need Help
Hello and thank you for your interest in Oskari!
Regarding your questions I’m afraid I cannot give you a definite answer, as it depends on many things. Anyway:
1. If you want to achieve this using an embedded map you just develop the functionality/service utilizing Oskari RPC API, the RPC Example page will help you get started: http://oskari.org/examples/rpc-api/rpc_example.html - see e.g. “Drawing requests” for learning how to be able to draw polygons and how to get the polygon coordinates so that they can be saved in the DB.
2. Not sure what you mean by saved map, but if you refer to the polygons saved in the first question this is something that can be achieved in many ways. You could set up a WMS / WFS interface that serves the saved data and configure that as a map layer in your Oskari instance or you could draw the features on the map utilizing the RPC API.
Hope this helps you get started!
Kind regards,
Timo Aarnio
From: Oskari-user <oskari-user-bounces at lists.osgeo.org<mailto:oskari-user-bounces at lists.osgeo.org>> On Behalf Of SACHIN GUPTA
Sent: torstai 4. huhtikuuta 2019 11.38
To: Oskari-user at lists.osgeo.org<mailto:Oskari-user at lists.osgeo.org>
Subject: [Oskari-user] Need Help
Hello,
I want to integrate your Map service with our Angular project. I have gone trough the API document already. I have some quires regarding API implementation:
(1) I want to display Map screen on our website in which user can draw some polygon and save it to our on DB. How can I do this? Is it possible to use only RPC client library for this purpose?
(2) How can I display saved map? basically where I need to set let,log and polygon information to display previously saved map?
Thanks,
Sachin Gupta
Willing is not enough, We must do....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/oskari-user/attachments/20190404/ceb5702f/attachment.html>
More information about the Oskari-user
mailing list