New answers tagged

-1

You could set up a Leaflet map (on an Amazon, Google, or other server) that reads a "dynamic" geojson file that is created and updated by your python module. https://leafletjs.com/examples/quick-start/ If you are just using points as markers you can generate the geojson file with python. Take an example from here on what a geojson "looks"...


0

This isn't your exact technology, but you might want to look through the code for some of Leaflet's Clustering/Decluttering plugins. If I recall, we use the Leaflet.markercluster plugin in our stuff. It looks kinda like this.. Then, if you click on one of the clustering icons (I chose a VERY busy one for example), notice how it offsets the individual icons ...


1

I recommend you consider Leaflet or OpenLayers ..personally, I prefer Leaflet. If you don't have "that many" location points, I'd just convert them into a JSON file or a GeoJSON file and load them all on $(document).ready(). When I say "that many", obviously that threshold is subjective. I consider it to be around 2000 points/features. If ...


1

In your link you have a section labeled PROCESSING STARTS HERE. You could try wrapping your processing steps in a ui.Button object: var submit = ui.Button({ label: 'Calculate NDVI', onClick: function() { var date_start = startDate.getValue(); var date_end= endDate.getValue(); // ... // The rest of your processing code here // Be sure ...


0

Earth Engine Apps automatically “run the code”. You can see that it's working in your app because the custom left sidebar appears — if the code were not run there would be just a blank map. If you need a button to take a specific action or reset things, use a ui.Button set up by your code. In your case, the problem is not that your code is not running. The ...


0

Solution was to first us pct2rgb.py to convert images to multiband rasters. Then use gdal_translate to add overviews and compression. Images now overlay correctly in WMS and can be rendered as PNG with transparency using QGIS. Hacky Python script below: #!/usr/bin/env python import sys import os from osgeo import gdal import datetime def my_print(text): ...


Top 50 recent answers are included