Tag: Code

React Redux: Building Modern Web Apps with the ArcGIS JS API


I would like to share my experience building a React Redux app with the ArcGIS API for JavaScript (ArcGIS JS API). It is exciting how well these work together. I will also share some boilerplate source code to help you … Continue reading

Posted in 3D GIS, Developer, Web | Tagged , , , , , , , , , | 1 Comment

Esri Startups at LAUNCH Festival 2016

Esri & Everyhome at LAUNCH

Ever since the California Gold Rush, entrepreneurs have flocked to San Francisco to strike gold. Merchants, shipbuilders, bankers, and tech companies have all staked their claim in the City by the Bay. The latest entrepreneurs, a slew of startups born … Continue reading

Posted in App Developers, Apps, ArcGIS Online, Developer, Mapping, Open Data, Uncategorized, Web | Tagged , , , , , , , , , , | Leave a comment

Announcing the Story Maps Developers’ Corner

Story Maps Logo

Esri’s Story Maps Team has a new resource for developers. It’s published on the blogging site Medium, and we call it the Story Maps Developers’ Corner. Whether you can write JavaScript classes in your sleep or are only comfortable editing … Continue reading

Posted in ArcGIS Online, Developer, Story Maps | Tagged , , , , , , , | Leave a comment

U.S. Soils Data Added to World Water Online

By Lori Armstrong

The World Water Online (WWO) group in the ArcGIS Resource Center has 12 new web map applications based on the SSURGO soil survey database. These apps show soil characteristics that are useful for hydrologic modeling, such as drainage class, available water storage, water table depth, and ponding frequency. The hydrologic group code, which classifies soils based on infiltration rate, can be used to calculate curve number and model how much rain falling in an area will become runoff.

Continue reading

Posted in ArcGIS Online, Hydro, Local Government, Water Utilities, Web | Tagged , , , , , , , , , , , , | 1 Comment

Esri Defense code moving to GitHub

Vehicle Commander on GitHub

This month the Esri Defense team launched a series of ArcGIS for the Military GitHub Repositiories to share source code for our web, desktop, and mobile applications. For those that aren’t familiar with GitHub, it is a code sharing and … Continue reading

Posted in Defense | Tagged , , , , , | Leave a comment

Going Open-Source with Esri

Lego USB - dolinski - 450291958

Esri builds tools to make decisions. The ArcGIS platform is the core of this system focused on geospatial data management, conversion, analysis, and visualization. This platform is built to be stable, secure, performant, scale, and provide the general capabilities that … Continue reading

Posted in Developer | Tagged , , , | 8 Comments

Template Updates Part 2

We just posted two more updated templates, The Water Utilities Operations Dashboard and the Water Utilities Customer Interaction(formerly Citizen Service) template. You may have noticed we changed the names of the templates slightly. We switched to Water Utilities because these templates now cover more than just the Water Distribution network.

In the new version of the dashboard, you will find an updated basemap document with improved cartography. All the operational map documents have been updated to include layers for sewer and stormwater. You will also see a new set of widgets, some configured for the new data and some that were included in the most recent release of the sample flex viewer. Take some time and explore the new widgets and give us your feedback. We’re really happy about how user feedback is shaping this template into a true utility dashboard.

The Citizen Service template, now called the Customer Interaction template, underwent a big overhaul. The first release of this template was focused on getting information from the public. In this release, we wanted to expand how and what information can be captured. In the submit request web page, you can now overlay a map service from your utility. A user can click on an asset in that service and use the selected asset to power the request. The selected assets ID is silently submitted with the request, allowing you better identify the asset the request is tied to.

Not only did we want to provide a better way of capturing information, but we wanted to help you share information with your customers. There is a new web page allowing you to do just that. You can list any layers that you want to share with the public in the configuration file. We included two different configurations of this web page with the template. One that share main breaks, out of service hydrants and location of capital projects, the other is used to share boil water notices. The web page can also be used to summarize information by area and then display that to the public, so you can give the public a high level view of information by an operating district or administrative area. As they look closer, the overview will fade away and have access to the detailed feature locations.

Again, we are very happy and pleased with being able to roll out these enhancements. Which, came from all of you. So, please let us know what you like, do not like, what enhancement requests you may have, etc. You feedback drives the development of these. Thanks

Posted in Water Utilities | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Updated Source Code for the Water Operations Dashboard

We have updated the Water Operations Dashboard.  This version is based on the ArcGIS API for Flex 1.2 libraries and the Sample Flex Viewer that was released on May 29th.  

The Water Operations Dashboard is based on the Sample Flex Viewer with a few enhancments. 

  • Identification Widget:  This widget allows the user to click on a asset to get a pop up of the information on that asset.  To use this widget in another sample flex app, you need to copy the index.swf and the IdentifyWidget widget.  This is because we made changes to the core components.
  • ChartWidget/ChartWidgetBar:  A widget to provide a bar chart or pie chart.  This can be used with the sample viewer or the water dashboard
  • LiveMapsWidgetWRefresh:  Added code so the live maps can be refreshed at a certain interval
  • Handle for null attributes:  Added error checking to a few widgets so null values are handled, this should fix some of the 1009 errors you may have encountered(SearchWidget, LiveMapWidget were updated)

You can find the source code on the flex code gallery.



Posted in Water Utilities | Tagged , , , , , , , , , , , , , , , | 2 Comments

Code Galleries vs ArcScripts: What's the Difference?

Since the ESRI Resource Centers were released over a year ago, the Code Galleries, organized by product and technology, have been a very popular place to upload and download ArcGIS code samples, models, and scripts.  Many staff from ESRI and the global ArcGIS developer community have participated in uploading hundreds of samples, and to date, there have been thousands of downloads as well.  As described in a previous post, they are quite an improvement over the otherwise very successful “ArcScripts” area on the ESRI Support Center.

But now that there are two places for accessing samples on ESRI’s website, a few questions have come up over the past year from the developer community.  Here is a short Q&A below to help answer these. 

When should I use the Code Galleries?

Searching:  Use any of the dozen or so Code Galleries (here is one example) when you want to search for the latest code and application samples from ESRI and the developer community.  Each entry is fully described, searchable, and many have video or Try It Live links for seeing the sample in action before you download it.

Sharing:  Use the Code Galleries when you have created helpful samples and would like to share them with the rest of the commmunity.

When should I use ArcScripts instead of the Code Galleries?

ArcScripts continues to exist for older products and versions.  If you cannot find a resource center and code gallery for the sample you are trying to search for or upload to, then feel free to use ArcScripts for those.  Some examples of ESRI’s older products and technologies that are not represented on the ESRI Resource Centers are MapObjects, ArcView 3.x/Avenue, and ArcIMS. 

Should I upload my entry to both ArcScripts and the Code Galleries?

That is not necessary.  If you want your sample to reach the widest audience, and you are using current products and technologies, then the Code Galleries will give you the best results.  However, you will need to continue using ArcScripts if you are searching for older technologies such as MapObjects, ArcView 3.x/Avenue, ArcIMS, or any other older product not represented in the ESRI Resource Centers.

Will ArcScripts be phased out?

Yes, over time.  But as long as users and developers are finding those older code samples and tools helpful, it will remain.

- EDN Team


Posted in Developer | Tagged , , , | Leave a comment

User Template Submissions

We’ve had a few questions about whether users and ESRI business partners can submit templates to the Water Utilities Resource Center.  We wanted to tell everyone, the answer is yes!

We are encouraging our users and business partners to submit templates to the Water Utility Resource Center template gallery.

Keep in mind there are 5 items that a template must have and all of these items must be in your template zipfile:

1. An instruction document – with information on how to install and configure the template. Including what software is necessary.

2. Any MXD or MXDs necessary – the mxds are critically important to show everyone your cartography, geoprocessing tools, etc.

3. Any custom code – Including the source code.

4. Sample Data – a populated geodatabase with any necessary data for your template. This is so everyone can understand how your template works with sample data. If you can’t share your own data than you can use the sample data we’ve provided with the Mobile, Editing or Dashboard templates for your template.

5. A blank geodatabase – this is an empty geodatabase with the same schema as your sample geodatabase.

Here is an example of the folder structure your template should follow:

A few ground rules for submitting templates – we will review each template to ensure that the proper items are in them and they function as advertised.  We won’t accept any templates that have trial software applications or extensions in them or don’t have the source code if there was custom programming in your template.

So anyone ready to share your good work?

If you have any questions about how to create your own template and post it email us at ArcGISTeamWater@ESRI.com

Posted in Water Utilities | Tagged , , , , , , , | Leave a comment