8,544 reputation
12698
bio website StephenLead.com
location Sydney
age
visits member for 3 years, 8 months
seen yesterday

Jan
28
comment query.where statement using date range in JS API
glad to hear it! I've put it as an answer so you can accept it and mark this question as closed
Jan
27
comment query.where statement using date range in JS API
It looks like you need to transpose the date format from 2014-01-01 to 01-01-2014 (I'm not sure the best way to do this). You should also enclose the dates within single quotes: query.where = "(DATE_VAL >= '" + startDateQuery + "') AND (DATE_VAL <= '" + endDateQuery + "')";
Jan
27
comment query.where statement using date range in JS API
can you please confirm the exact values of startDateQuery and endDataQuery? What error message do you receive from the queryTask.execute?
Jan
26
comment How to count point features in polygon using ArcGIS API for JavaScript?
That's a good workaround - but a potential problem is that you'll need to re-calculate the statistics anytime either layer changes. If you can't guarantee that will happen (especially if you're building this site for someone else to maintain) it could lead to future problems
Jan
22
comment How to read and write tiff image and locate pixels and bands of images in R
Welcome! I agree with Aaron - make this question "how to read and write tiff image in r" then once you know how to do that, you can ask the second question "how to locate pixels and bands in r". Keeping each question succinct and focussed makes it easier for everyone
Jan
22
comment OpenLayers + MapServer - Finding reason for random missing tile
Are you able to put the application on a public-facing site so we can test it?
Jan
22
comment OpenLayers + MapServer - Finding reason for random missing tile
Dumb question but do the missing tiles definitely exist? Is it always the same tiles which fail? Can you test them in a non-Open Layers map or desktop app (I'm not a MapServer user so I don't know the options, sorry)
Jan
22
comment OpenLayers + MapServer - Finding reason for random missing tile
Can you use a tool like Chrome developer tools or Firebug to examine the network requests? It is likely/possible that one of the tiles has failed, and the error message may give a clue. Improving network performance shows how to monitor the resources as they load
Jan
21
comment ArcGIS Web AppBuilder widget config?
John, this will make a change to published app [number]'s widget config. Is there a way to tell WAB to look for changes to the source widget code or config, from the \client\stemapp\widgets directory? Asking for a friend
Jan
21
comment How to update the source code for apps built with ArcGIS Web AppBuilder widgets?
@mapBaker in this case I feel comfortable cross-posting. Web AppBuilder is a brand new product and I'm not sure what the most appropriate site is. I'm not a fan of GeoNet, and I expect more node-savvy developers to be found on SE, but there are only a handful of Web AppBuilder questions here so far. I promise to post the answer on both sites!
Jan
19
comment Where can I download a free DEM for Scotland, UK?
have you seen gis.stackexchange.com/questions/75980/… ?
Jan
18
comment How do I create a convex hull in ArcGIS Desktop?
@DanPatterson Esri's recent site cleanup has broken your link - do you know the new URL? What was the name of the tool/script?
Jan
15
comment How to append result to Geocoder text box using ArcGIS JavaScript API?
Please see How to create a Minimal, Complete, and Verifiable example, specifically The more code there is to go through, the less likely people can find your problem. Streamline your example.
Jan
15
comment How to append result to Geocoder text box using ArcGIS JavaScript API?
Thanks for posting the code. But a suggestion is to cut down greatly on the amount posted, and only include the important sections. Eg the CSS, HEAD, background layer (etc) are irrelevant to the question. You can include a link to jsfiddle to show the rest. People are more likely to answer if they don't have to wade through pages of code.
Jan
13
comment SQL-query in arcpy - SELECT WHERE feature between two values
According to About building an SQL expression you should be able to use BETWEEN: You can use greater than (>), less than (<), greater than or equal (>=), less than or equal (<=), and BETWEEN operators
Jan
12
comment arcpy interate row, in a python script? SQL Select expression not working
I agree with Emil. See the code sample on that page which includes with arcpy.da.SearchCursor(fc, fields) as cursor: to get started.
Jan
12
comment How to prevent ArcGIS JS map from failing when using a Bootstrap “hidden” class?
Genius - thanks for the help!
Jan
12
comment How to hide labels in ArcGISDynamicMapServiceLayer
There's an Esri sample Change attribute used for a renderer which uses setLayerDrawingOptions - can you try the same syntax in your example?
Jan
11
comment How to prevent ArcGIS JS map from failing when using a Bootstrap “hidden” class?
Thanks Dennis, that's a very useful start. Further testing shows that show/hide on the parent div (which I thought is all that Bootstrap's hidden class is doing) doesn't cause the problem. I'll keep testing....
Jan
8
comment Polyline graphics not displaying in Javascript API?
if you step through the code in a debugger, does graphicsLayer definitely contain your polyline features? Can you post the JSON of those features?