• Member for 1 year, 11 months
  • Last seen more than a month ago
  • UK
PHOTOMETRIC tag not producing expected result
1 votes

I solved this by writing a function to invert my data. def invert_dataset(min, max, data): for i, row in enumerate(data): for j, value in enumerate(row): A = value - min ...

View answer
Add a GeoJSON feature collection of linestrings to OpenLayers map
Accepted answer
0 votes

As @TomazicM suggested, this turned out to be a async/sync JS issue. The geojson object returns after my code attempts to display the coordinates. To get round this, I loaded the geoJSON synchronously....

View answer
Access specific feature property in local GeoJSON file?
0 votes

I ended up using jquery to load the geoJSON to access the properties. Here is the code: $.getJSON( "http://myserver.com/mygeojson.js", function( data ) { data.features.forEach(dothis); ...

View answer