How to display ASCII Grid data into javascript map

679
3
Jump to solution
09-01-2018 03:57 AM
MokraneLateb
New Contributor

Hello everyone,

I have some ASCII Grid files containing data of incoming rain fall. I would like to display the data on top of an arcgis javascript map. I join a file to this post.

Plus, those files are regulary updated (read overwritten) with updated data.

So, anyone knows how to display that kind of data, and update the map ?

0 Kudos
1 Solution

Accepted Solutions
MokraneLateb
New Contributor

back after almost a year.

we finally made it possible with a combination of python and javascript. the python code is run on the server and it updates a map service everytime we receive new data.

the javascript code uses a dynamicmapsrevice layer which has a refreshinterval property.

thanks for your help

View solution in original post

0 Kudos
3 Replies
DanPatterson_Retired
MVP Esteemed Contributor

ASCII to Raster—Conversion toolbox | ArcGIS Desktop 

rename the *.grd to *.asc to make it easier if you are using pro

Save it into a folder as a *.tif and it is floating point

then do what you want with it.

If this is a java thing, hopefully ther is an equivalent access to a tool, if not covert beforehand

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

In the JS API there is a taster data source layer for this

https://developers.arcgis.com/javascript/3/jsapi/rasterdatasource-amd.html

MokraneLateb
New Contributor

back after almost a year.

we finally made it possible with a combination of python and javascript. the python code is run on the server and it updates a map service everytime we receive new data.

the javascript code uses a dynamicmapsrevice layer which has a refreshinterval property.

thanks for your help

0 Kudos