I have created a survey to capture details about resources available at a particular location. I have basic information (organization, contact, etc) outside of the repeat, then within the repeat I ask for the location (using geopoint) and specific characteristics about that location.
The items within the repeat are shown at the proper location on the resulting map, but the data outside of the repeat is showing at (0,0). Is there a way to not have the data outside of the repeat use the location collected on each of the repeats? The data outside of the repeat doesn't change, so I don't want users to have to re-enter it each time, but it should be located at the same spot as the data within the repeat.
Thanks
Kathy F
| type | name | label |
| note | generated_note_form_title | <p style="text-align:start;">Maui Fires 2023 - Logistics Assets and Resources</p> |
| note | generated_note_form_submit_text | Submit |
| note | generated_note_form_footer | <a target='_blank' style='color:#000000;' href='https://www.esri.com/products/survey123'>Powered by ArcGIS Survey123</a> |
| note | generated_note_prompt_submitted | <p style="text-align:center;"><br></p><p style="text-align:center;"><img alt="Green check icon" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMzMTg3MkUiIGN4PSIzMiIgY3k9IjMyIiByPSIzMiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0yMi42NjEgMzAuMjQ2bDUuMTgyIDQuOTg3TDQxLjU1MiAyMiA0NSAyNS40NjEgMjcuNzQ3IDQyIDE5IDMzLjQ5OHoiLz48L2c+PC9zdmc+"></p><p style="text-align:center;"><br></p><p style="text-align:center;"><br></p><p style="text-align:center;"><strong style="font-size:16px;">Thank you.</strong></p><p style="text-align:center;"><strong style="font-size:16px;">Your response was submitted successfully.</strong></p><p style="text-align:center;"><br></p><p style="text-align:center;"><span style="font-size:16px;">Contact <a href="https://www.alanaid.org/contact/" target="_blank">American Logistics Aid Network</a> for information.</p> |
| note | organization_and_contact_inform | Organization and Contact Information |
| text | org_name | What is the name of your organization? |
| text | org_url | What is your organization's website address? |
| text | org_poc | Who is the point of contact for these resources? |
| text | poc_email | What is the contact's email address? |
| text | poc_phone | Phone Number |
| begin repeat | resourcesurvey | Add your locations and assets (click + to add more locations) |
| note | asset_resource_information_deta | Logistics Resource Details |
| geopoint | resource_primary_location | What location are you reporting on? |
| select_multiple list_asset_resource_information_deta_asset_type1 | asset_type1 | What type of asset / resource are you offering? |
| text | offer_type_other | Other |
| select_one list_asset_resource_information_deta_donation_or_paid_offer | donation_or_paid_offer | Donation or Paid Offer |
| text | offer_paid_other | Other |
| text | resource_description | Description of the resource or capability |
| end repeat | ||
| text | additional_information | Additional Information |
| dateTime | date_and_time_submitted | Date and Time Submitted |
Solved! Go to Solution.
Here's my Excel.
I am willing to do this any way it can be done.
How can the Parent not be at (0,0)?
Thank you
Do you have a geopoint question in the parent at all? You should
Can you provide an example of how I would do that? You are correct. There's no geopoint question for the parent. I am missing something maybe simple. Thank you again
Well that is why you are getting the 0,0 then. You need to add a geopoint to the parent. With no question there it will default to 0,0 as you are seeing. In general you always want a geopoint question.
Hi Doug.
Please see my Excel. We really appreciate your help
Sorry just say this. Simply add a geopoint to the parent section.
How do you inherit the parent geopoint?
@EmilySpeck You can just add the name of the parent geopoint into the calculation of the child geopoint I think. Just like any other field. Give it a try
I think I am having a issue with my pulldata calculation. I am using a CSV file to pull the information. It is reading the coordinates on Connect, but on AGOL it is reading (0,0). I attached a screenshot of my Connect form.
The CSV file is link media to my Connect, do I have to upload the file to AGOL as well?
It could be the order of operations as the web can be different. So its trying the repeat geopoint before pulldata loads. Try putting a relevant on the geopoint in the repeat that makes sure the parent geopoint is not empty.
May have to try != "" and if not try string-length > 0
If that does not work try a relevant tied to one of the pulldata fields.
I would turn off hidden for now to see what its getting and when. Always good for testing to see the values and hide later.
Hope that does it.