658 reputation
412
bio website jgreenlaw.org
location
age
visits member for 2 years, 2 months
seen Jul 24 at 16:23

JavaScript, Python, Java, GIS, PHP, C/C++, Perl, HTML/CSS software developer


May
29
awarded  Yearling
May
16
revised ArcGIS JS API Relationship Queries
Fixed code formatting
May
16
suggested suggested edit on ArcGIS JS API Relationship Queries
May
14
answered Javascript Map (ArcGIS API for JS v 2.9) Not Releasing Listeners
May
1
comment Javascript Map (ArcGIS API for JS v 2.9) Not Releasing Listeners
The latest release of Dojo as of 5/1/2014 is 1.9.3. I think you mean ArcGIS JavaScript API v2.9 (which is now at 3.9), which is built on Dojo. What do you mean by "the listeners won't release the tools"?
Dec
4
awarded  Notable Question
Sep
9
comment Create Materialized View to Flatten ArcGIS JavaScript API Database
While you may be able to do this with a normal view or using joins/relates in your map document, for performance and ArcGIS compatibility reasons I would recommend what you already mentioned: Get the data provider to create a flattened table joined with all the data using SQL. Then add column & spatial indexes as necessary, register the table with ArcSDE and/or the geodatabase, and add to your map service as a normal layer. It's going to be much faster to draw than performing all of those JOINs on the fly.
Sep
3
awarded  Critic
Jun
26
answered ArcGIS JavaScript API filter raster dataset
Jun
24
comment ArcGIS JS API Legend Dijit not refreshing correctly
A couple thoughts: 1) In technique #2, have you tried calling legend.startup() again (instead of legend.refresh())? 2) Do you need to specify layerInfos to the legend constructor and refresh? If you just want to display all legends from all map layers, you can leave out the layerInfos argument altogether. 3) If you are concerned about destroying the "legendDiv", try creating another nested div (e.g., "legendDivInner") using dojo's dom-construct that can be safely destroyed when legend.destroy() is called. Then you can recreate the div as needed.
Jun
3
comment Toggling layers with arcgis javascript api 3.5
Just before calling .show() or .hide(), try inspecting the layer objects themselves by calling console.log(hospital2010kml); -- the object will show up in the developer console and you can inspect its properties/methods etc. If it's a valid KMLLayer object, it should have show/hide methods, as you said.
May
29
awarded  Yearling
May
29
answered ArcGIS - Export raster keep color scheme
May
29
answered GetFeatureInfo on ArcGIS Web Service
May
29
comment How to programmatically change the timeExtent of a Map & update the timeSlider?
Edited my answer to include my above comment. Did this solve your problem?
May
29
revised How to programmatically change the timeExtent of a Map & update the timeSlider?
Incorporated more direct answer per asker's comments
May
29
comment How to programmatically change the timeExtent of a Map & update the timeSlider?
If you've already created your time slider and set your time stops, you just need to call timeSlider.setThumbIndexes(). If you have only one thumb, you would call timeSlider.setThumbIndexes([thumbIndex]), where thumbIndex is the index into the timeStops array representing your desired time extent. You shouldn't be setting the time extent of your map - you just need to set the position of the time thumb to the proper position, which will in turn update the map's time extent.
May
29
revised How to programmatically change the timeExtent of a Map & update the timeSlider?
Added code comments
May
29
answered How to programmatically change the timeExtent of a Map & update the timeSlider?
May
29
comment Use GDAL/Python to add rasters (tiff) to an ESRI File Geodatabase
I think Kyle is right, the only way to manage Mosaic Datasets currently is through ArcPy. I've also run into performance bottleneck issues with this; it's quite frustrating since GDAL is so fast for reprojection etc.