Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 3 characters in body
Source Link

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Below is a example I want to sample ~40 points.

Total Grid points:

Grid points

Bad Sampling:

enter image description here

Good Sampling:

Sampled points

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Below is a example I want sample ~40 points.

Total Grid points:

Grid points

Bad Sampling:

enter image description here

Good Sampling:

Sampled points

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Below is a example I want to sample ~40 points.

Total Grid points:

Grid points

Bad Sampling:

enter image description here

Good Sampling:

Sampled points

added 204 characters in body
Source Link

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Below is a example I want sample ~40 points.

Total Grid points:

Grid points

Bad Sampling:

enter image description here

Good Sampling:

Sampled points

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Grid points

Sampled points

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Below is a example I want sample ~40 points.

Total Grid points:

Grid points

Bad Sampling:

enter image description here

Good Sampling:

Sampled points

deleted 4 characters in body
Source Link

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between two selected points is minimum to get a proper representation of whole area.

Grid points

Sampled points

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between two selected points is minimum to get a proper representation of whole area.

Grid points

Sampled points

I have a grid point shapefile. I want to select N number of samples from those set of grid points. I tried pd.DataFrame.sample() but as we know it selects samples randomly. Is there any way I can select samples across those grid points uniformly?

I am using geopandas to read the shapefile. Below is pictorial representation of the task.(Not necessarily 1 step skip, it can be any but it should be uniform)

Edit: I need to select points such that deviation of distance between selected points is minimum to get a proper representation of whole area.

Grid points

Sampled points

added 150 characters in body
Source Link
Loading
added 69 characters in body
Source Link
Loading
Source Link
Loading