Reputation
1,778
Next privilege 2,000 Rep.
Edit questions and answers
Badges
13 42
Newest
 Yearling
Impact
~101k people reached

  • 0 posts edited
  • 0 helpful flags
  • 76 votes cast
Dec
29
comment JSAPI: How to prevent GetImageUrl from being called twice?
does the timeout value actually have to be 50? What happens if you use 0 to simply force it to fire after a repaint?
Dec
29
comment How to reference the ArcGIS Server JS API using RequireJS
Last time I tried this it was a bad idea - ArcGIS JS API includes Dojo, and Dojo provides its own AMD functionality which conflicts with RequireJS. Immediately on load it threw an error. Unless the situation has changed recently you will have to use Dojo's version of define and require. Generally my experience of having to use Dojo because of the JS API's reliance on it has been bad.
Dec
23
comment ArcGIS Javascript API on Wordpress 4.1
it's a bit of a hammer but I would suggest routing traffic through Fiddler or equivalent and searching HTTP responses for the text 'define' or 'require'
Dec
23
comment ArcGIS Javascript API on Wordpress 4.1
I saw a similar error when I once tried to use the ArcGIS JS API in combination with RequireJS. I believe the error means that the define and require functions are already defined when the API (including Dojo) tries to load. If this is the case then Wordpress is probably using its own AMD manager and you're probably going to have a hard time. Comment-out the ArcGIS reference and then in console try typeof window.define
Dec
19
comment Small discrepancy in scale reported by OpenLayers and GeoServer (after DPI fix)
Yes, data is stored in 4326. As OpenLayers is configured to display in 900913 the WMS requests ask GeoServer for the data in 900913 - GeoServer is doing the projection.
Dec
18
comment Small discrepancy in scale reported by OpenLayers and GeoServer (after DPI fix)
@GIS-Jonathan good question, yes the OpenLayers previewer does also present the same discrepancy (its DPI is set the same as mine)
Dec
17
asked Small discrepancy in scale reported by OpenLayers and GeoServer (after DPI fix)
Dec
16
comment Open Layers 3 geoJSON not loading
you should monitor network activity either through a browser's developer tools or fiddler/equivalent and see how far your geoJSON request gets. If the response completes just fine this is worth adding to your question
Dec
16
comment ArcGIS JavaScript API: onAnimate Error
relying on a timeout to make something work may eventually result in troublesome bugs that are very difficult to reproduce. If you are zooming to a point feature that is requested from the server you must ensure that the zooming happens in an event handler that fires when that request is complete, instead of guessing how long the request will take.
Dec
15
comment GeoServer rendering performance significantly affected by vector icon size
@BradHards thanks for the tip - I set up the Marlin renderer and it resulted in a significant performance gain in high-concurrency environments and also removed the spike in response time for larger vector icons (raster performance remains unchanged).
Dec
15
comment GeoServer rendering performance significantly affected by vector icon size
I'm not sure I agree - as I said in my edit raster icons don't show the same relationship, but also the vector rendering time plateaus around the high-30/low-40 pixels. The SLD snippet does show how I'm measuring size - with the content of the <Size> element
Dec
13
comment GeoServer rendering performance significantly affected by vector icon size
Do I have a choice? I don't think I've come across this so far so if there is a default I'm probably using that one.
Dec
12
revised GeoServer rendering performance significantly affected by vector icon size
added 550 characters in body
Dec
12
revised GeoServer rendering performance significantly affected by vector icon size
messed up tags
Dec
12
asked GeoServer rendering performance significantly affected by vector icon size
Nov
19
awarded  Popular Question
Oct
23
comment Definitive list of Proj4 supported coordinate systems
OK perhaps I misunderstood how OpenLayers was handling my input string... I will have to study this problem a little more.
Oct
23
comment Definitive list of Proj4 supported coordinate systems
wait, I'm still confused - if proj4js only has a few EPSG definitions how is it that, once included, OpenLayers lets me say new OpenLayers.Projection('EPSG:2269') for example? I don't understand how these EPSG codes are associated with the relevant proj transform parameters. All I need to know is which EPSG strings will be understood out of the box
Oct
22
accepted Definitive list of Proj4 supported coordinate systems
Oct
22
comment Making world map to show where hole drilled through centre of Earth starts/ends on land vs water?
looks like it doesn't work anymore, but there was this: zefrank.com/sandwich