Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Python is an open source interpreted programming language used in many GIS programs.
1
vote
How to calculate a curve distance between two xyz points?
Here is an example with python based on scipy that computes the surface trajectory lenght between two points A and B:
I used a multivariate gaussian model (scipy.stats.multivariate_normal) to generate …
5
votes
Accepted
How to suppress noises of this edge-detected image?
I think you can do some thresholding if you stretch your histogram.
In the example below, I streched it between percentile 2 and 98 and set a treshold at 250. It looks like a start.
import numpy as …
3
votes
1
answer
6k
views
How to use gdal.FillNodata in python?
I am trying to use gdal.FillNodata in python on a ".tif" raster. The nodata value is set to -3.402823e+38. … maskBand = None,
maxSearchDist = 5, smoothingIterations = 0)
print result # return 0
This code seems to do actually nothing and I don't know how to define an output raster in python …
7
votes
Accepted
Groupby Ploting - give each plot title/name
If you want to represent the continents side by side, you have to create subplots on the same fig. To do so, you can iterate through your group of continents. Here is an example:
import geopandas as …