Open HADDADENICAR opened 6 years ago
Hi, Haddad.
I have to ask if you are using the geonotebook environment, or if you are using folium or ipyleaflet. If you are in the geonotebook env, then please consider moving to a conventional pyspark Jupyter kernel and importing folium or ipyleaflet, as we are no longer recommending geonotebook.
With that said, markers are added according to the instructions from whichever map display plugin you've opted for. See the applicable docs and let me know if you need further assistance? Thanks!
Hello,no i didn't used geopyspark yet . i tried folium with pyspark with no success since folium objects aren't serialiazble ,the issue is here ,for that i thought using your geopyspark but before i want to know if gps markers are possible or not.
As long as you use the folium objects only on the notebook on the master, you won't have to serialize. You'd be well-served to produce a GeoJSON file from your computations and just display that as a layer with a styling function to get the correct marker shape. The main concern I have with your approach is that leaflet performance will start to degrade quickly with too many markers. Having a very large quantity of locations to mark would be the only sensible reason to call out to spark for the processing, and very large quantities of markers may not work very well in any leaflet-based map.
In any event, I'm not sure if geopyspark is going to provide a solution to your problems, since we're more interested in the computation side of the equation, and we farm out the display to other packages like folium.
is it possible to have gps markers inside the map ,with geopyspark ? thanks