Topic on Extension talk:Maps

Entering coordinates of a polygon

1
Jvos2020 (talkcontribs)

A point location is stored as e.g. 51.752367847997384, 5.0420263451101572


I want to record a polygon. Via the Forms extension I didn't see how to add a polygon. On the Leaflet map it looks like I only can add a point. So I manually added a series of coordinates to the page. But they aren't recognized. This is what I entered on the page (within a template):


|Parcel=269 |Place=MyPlace |Contour=51.752367847997384, 5.0420263451101572:

51.754842329817762, 5.0411433012562128:

51.754655975172547, 5.0408091395273438:

51.754514557197254, 5.0405474436405431:

51.752183917880750, 5.0413954272633106:

51.752340178664198, 5.0420365855845324:

51.752367847997384, 5.0420263451101572


And maybe to better illustrate my intention. See below the code to display some parcels.


{{#display_map:polygons=

51.752367847997384, 5.0420263451101572:

51.754842329817762, 5.0411433012562128:

51.754655975172547, 5.0408091395273438:

51.754514557197254, 5.0405474436405431:

51.752183917880750, 5.0413954272633106:

51.752340178664198, 5.0420365855845324:

51.752367847997384, 5.0420263451101572

~MyPlace - 269~Details about this parcel <link to page goes here>

51.75284463529357, 5.0431281849590839:

51.755482428207017, 5.0421830972897626:

51.754842329817762, 5.0411433012562128:

51.752367847997384, 5.0420263451101572:

51.752488841037191, 5.0425605930727997:

51.752520221076558, 5.0426892422115497:

51.752655384114384, 5.0426353602107286:

51.752733376720805, 5.0431660421107614:

51.75284463529357, 5.0431281849590839

~MyPlace - 268~Details about this parcel <link to page goes here>; | width=800 | height=400 | resizable=yes

}}


However what I want is an #ask to retrieve the coordinates from alle the parcel pages.


What should I do to have a polygon on each page as a semantic property?

Reply to "Entering coordinates of a polygon"