azerbini / eamena_v3

The EAMENA project maps cultural heritage across the Middle East and North Africa
http://eamena.arch.ox.ac.uk
0 stars 1 forks source link

Group Geometry - Enable KML Drag & Drop #63

Open azerbini opened 6 years ago

azerbini commented 6 years ago

User needs to be able to Drag & Drop a KML polygon. If the KML contains several polygons, these should all be added to the map. If it contains lines and points, these should not be added.

ahaith commented 6 years ago

Kml drag and drop now working again. Still need to filter out points and lines.

azerbini commented 6 years ago

Hi @ahaith, could you please reference the commit? Where are you pushing? Hopefully to the admin-panel branch?

ahaith commented 6 years ago

Sorry - this is just local for the time being. I will push to the PR branch once everything is working.

ahaith commented 6 years ago

This should hopefully now work as desired. However, first the geom column in the public.auth_group table needs to be dropped and recreated with the given sql to use MULTIPOLYGON instead of POLYGON.

azerbini commented 6 years ago

@ahaith where are you pushing?

ahaith commented 6 years ago

To ox-it/group-geo-area-az. Would you like me to push to azerbini/admin-panel?

azerbini commented 6 years ago

Yes please!

Thank you,

Andrea

Sent from my iPhone

On 10 Nov 2017, at 13:15, Andy Haith notifications@github.com<mailto:notifications@github.com> wrote:

To ox-it/group-geo-area-az. Would you like me to push to azerbini/admin-panel?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/azerbini/eamena_v3/issues/63#issuecomment-343470464, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASWgd-hs-UqGyYOZEVUkUDXGM2ZapwY1ks5s1EyKgaJpZM4QVRSJ.

ahaith commented 6 years ago

Done

azerbini commented 6 years ago

@ahaith Drag & Drop now works but dragged polygon doesn't appear when dragged - though it does when I save.

ahaith commented 6 years ago

Hmm, OK. N.B. I think the change I made to enable multiple polygons has broken other functionality. I'm looking into it...