-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Sbas.export_geojson() problem #152
Comments
Yes, after doing gdal_translate the computed points where corectly put on the centroid of the pixels. The problem is that the pixels remain the same. Why is that, is there an asumption or any logic behind it? |
What problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, @AlexeyPechnikov ! I think that there is a problem with the sbas.export_geojson() function. The results from the function are a little bit odd, from a misalignment point of view. Exporting the same data as a raster with sbas.export_geotiff() and as a vector with sbas.export_geojson() provides 2 shifted outputs (See attachement).
The raster is the original result exported sbas.export_geotiff(displacement_ps_mm2[9:10], 'cop_fin_exps/displacement_ps_mm2_') and the vector is exported with sbas.export_geojson(displacement_ps_mm2[9:10],'cop_fin_exps/displacement_ps_mm2_vect_6iunie').
In QGIS i didnt understand why the points from GeoJson were that concentrated, like 2points per pixel. I converted the raster to vector and it seems that there are 2 extra vectors (6 polygons per 4 cells). The red values are the values from the PyGMTSAR and the yellow values are extracted from SAGA GIS, same behaviour, 6 values on 4 cells. The red geometry is the converted raster to vector using basic QGIS functions.
What can cause such a behaviour?
The text was updated successfully, but these errors were encountered: