palasangha / Treasures-Of-Dhamma

GNU General Public License v3.0
0 stars 0 forks source link

Add Address using AMI Sets #1

Closed paladhamma closed 2 years ago

paladhamma commented 2 years ago

Webform - Address Field - How to input address through AMI set (CSV)?

paladhamma commented 2 years ago

In the column where the address machine name is mentioned, add all subfields in the following JSON format as mentioned below. For my case: it was address_to.

Field name: address_to

{"lat":"19.2282464","lng":"72.80595181109","city":"Mumbai","state":"","value":"Global Pagoda, Global Pagoda Road, R/C Ward, Zone 4, Mumbai, Mumbai Suburban, Maharashtra, 400049, India","county":"","osm_id":"44444571","country":"India","category":"amenity","locality":"","osm_type":"Way","postcode":"","country_code":"","display_name":"Global Pagoda, Global Pagoda Road, R/C Ward, Zone 4, Mumbai, Mumbai Suburban, Maharashtra, 400049, India","neighbourhood":"","state_district":""}

Global Pagoda Openstreet map - details copied from the https://www.openstreetmap.org/ link.

a. Collect Latitude, longitude, city, display name (& value are same), country, and category from webform b. Collect state, osm id from the website.