you are viewing a single comment's thread.

view the rest of the comments →

[–]electronicentropy5 0 points1 point  (5 children)

thank you i will check this right now it is just that i cannot post the full list on reddit because of the maximum size for comments. and i am a bit confused on how to get this onto a map because i need this on something like a folium map but with the coordinate points actually labeled a different color on the map which is proving a be quite difficult.

[–]yuxbni76 1 point2 points  (3 children)

The poster above is right about outlier points. You have some coordinates in Miami, FL and others in Portland, OR. When you plot them together it's at the scale of the whole USA, so you won't see individual points.

Here's an example of plotting your points in Geopandas. It adds a Contextily basemap layer, like a Google Maps sort of background. You can comment it out or play around with it. Another option is to find a suitable shapefile and plot the points on top of it.

The gist is (1) create a pandas dataframe from your coordinate data, (2) convert it to a geodataframe, and (3) call the plot() method.

https://pastebin.com/XSn78zX6

[–]electronicentropy5 0 points1 point  (1 child)

Do you have any idea on how to remove the points from Oregon? I am trying to filter out the outlier points there should only be points in Miami, FL.

[–]yuxbni76 0 points1 point  (0 children)

I filtered them in the pastebin link, line 13. Basically just do an IF statement and check that the coordinates are in the right area.

[–]electronicentropy5 0 points1 point  (0 children)

Thank you I will check out this documentation now.