Select to view content in your preferred language

Cemetery App

1085
5
04-24-2015 08:23 AM
RickeyFight
MVP Regular Contributor
4 5 1,085

I just recreated my Cemetery App. The last version did not use AMD  style JavaScript. This made my old script really long, ugly, and bulky.

                                        Old version

                               

                                         New version

                        

I have been able to add more features to my current version because ESRI was converting to AMD when I started so I got my original code.

This has become my favorite app. I taught myself (mostly)  JavaScript during the time it took me to write the app. My initial app took about 5 months to complete. Part of the process was updating our 19 thousand graves.

                                  

CREATION

I based my script off of the DataGrid JavaScript  template. I then added in custom basemap switcher, location, home, help, and other features.

During the winter I added a script to make snow fall across the webapp.

                             

MOBILE

This app is also designed (sorta) for mobile. The main page will automatically direct you to "mobile" version.

To only major differences are the size and ability to zoom in.

The ability to find your location while out at a cemetery is important. Trying to find a headstone can be difficult. We are also in the process of updating/taking photos of every headstone. Right now we have over 4500.

                                                 

USE

The Cemetery application helps residents find family and friends located in any of the cities cemeteries.

Click on the Search Options Pane. In the text box, Vote for this treeinput the First Name, Last Name, Year of Death, or Year of Birth of the Person of Interest. Only one name or date can be searched for at one time. Click Search. All records that contain the search parameters are displayed down below. Click on any part of the row of the desired person. The map will automatically zoom to the desired plot. Click on the highlighted plot (if two or more are in view pick the center most plot or keep clicking until desired name is found). Information about the plot will be displayed.

application helps residents find family and friends located in any of the cities cemeteries.

If you have questions or suggestions for the cemetery app please contact me at: fiter (at) ashland.or.us

UPDATE:

In 2019 I have updated this site once again. This time using the WAB developer edition.

--

  Rickey, GIS Analyst 
City of Ashland, Public Works
20 East Main Street, Ashland OR 97520

5 Comments
JoshWhite
Honored Contributor

Would you be willing to share your script?  I'm not a programmer but I think this would greatly enhance my FlexViewer based Cemetery webmap. 

MichaelJenkins
Frequent Contributor

Nicely done Rickey!  it is really fast and works well.  Your code is nicely organized and easy to read, too.   I like how you have used a dynamic service for your base map so that users can zoom in much closer than is typical with a tiled base map.

The only thing I noticed that I'd like to mention is that I can zoom in further with the aerial photo than the base map, so if I zoom way in first with the aerial on and then switch to the basemap it doesn't draw anything unless I zoom out a little.

Great work!

RickeyFight
MVP Regular Contributor

Josh White​,

Yes you can use the script (it is mostly all from Esri JavaScript Samples) and not flex though.  Open the map, right click on the View Page Source option (in chrome). The result will show my script.  I did not really use any outside scripts for this webapp.

Michael Jenkins​,

I agree that is an issue, this year we are getting 2-4 terabytes of storage added. That will mean we will be able to create those cashes to zoom in as far as the aerial photo.

JoshWhite
Honored Contributor

I'm okay with it not being Flex, that is just what my current version is.  I'd like to make it so that it can be used on mobile devices. 

slach
by
Emerging Contributor

Ricky,

I just checked out the most recent version of your cemetery viewer and it's very cool/fun to use!!! Thank you so much for sharing! I love how fast it is and easy it is to pull up the attachment table and look at the records there. Also the last names on the plots are a nice touch! Honestly I could give you complements all day very well done!!

I'm working with a local church to build out something very similar in experience builder. I'm not sure how your data was set up behind the scenes but I'm curious if you ran into the same problem we're running into regarding getting photos into popups and wanted to reach out to see your thoughts.

Ideally we'd like users to be able to select a plot on the map and have the photos of the plot show up in the popup like your application allows. However, we are running into issues because it seems when a join view in arcgis online is created the attachments are not transferred as well. Our current workaround idea is to write an arcade expression that uses a field to pull in the gravesite photo from another layer but this is proving to be more tricky than anticipated. Did your application require this process to get the photos into the popup or did you accomplish this a different way?

Again thanks so much for sharing!! I really enjoyed clicking through the different cemeteries in your application and am glad I found your blog post!