-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output signal strength as geojson #11
Comments
I'm curious to know what you mean, exactly. I think the ppm included in with the kml is intended to be used as an overlay in Google Earth, and opening it up is supposed to project it right on top. I can't remember if Google earth under stands ppm's though. I changed that in my branch of Splat! so that it'll output a png with the kml instead. Are you asking to have the different dBm/SS levels mapped as topology arcs rather than simple color areas? |
@hoche Yeah, the KML is intended for this I think. As you say, google earth (or other slippy maps interfaces (we're using leaflet on top of geoserver)) don't support However, as well as reading the image we'd probably want to adjust the opacity in the colours, as we'd want to display the At the moment I could do this by running I believe yes, I'd be looking for the dBm/SS levels to be mapped to GeoJSON features. As this would be infinitely more flexible to work with. I appreciate however that this probably isn't a trivial task. |
I see. Actually, generating GeoJSON that uses the png as an overlay - just like the kml does now - is on my short-term todo list; with any luck I'll have that done in the next few days. I'll have to think a bit about how to get vectors out what is essentially a raster grid of signal strengths. That might get punted down the road for a later enhancement though. |
GeoJSON with a In an ideal world however the data driving the I don't understand how the SS plot is generated however, perhaps there is some way to achieve this? |
This is not a difficult process to accomplish at all by post-processing the .ppm. The gdal ecosystem has all of the bits and pieces needed to do this and can be scripted to make it easy and painless. You can take the resulting .ppm produced by Splat!, create a GeoTIFF using gdal_translate. This rusting GeoTIFF can then be converted to a GeoJSON using the following script geotiff2geojson You may need to modify it for your particular needs but should provide some thoughts on the process. |
Is there any way that we could output the Signal Strength map (currently .ppm) as geojson? or some format which could be more easily rendered on a map?
I've tried the
.kml
output but that outputs a link to the.ppm
which isn't vector based.Would appreciate any thoughts.
The text was updated successfully, but these errors were encountered: