villares,
@villares@ciberlandia.pt avatar

I know #matplotlib can do cartography (maps), and #osmnx uses it to plot stuff, but I can't find documentation or a decent tutorial to plot a base map and a list of latlong places as different sized circles. I'm struggling with #cartopy, in theory a wrapper to make mapping easier :((
Is it that hard or I'm just too dumb and/or I'm making everything wrong? #Python

villares, (edited )
@villares@ciberlandia.pt avatar

I should have a look at this: https://www.theurbanist.com.au/2021/03/plotting-openstreetmap-images-with-cartopy/

But I made some progress I suppose, quick studies here:
https://hackmd.io/@villares/python-quick-maps


UPDATE: fixed hackmd read permission

guisso,

@villares não consigo acessar seu link

villares,
@villares@ciberlandia.pt avatar

@guisso eita, preciso arrumar permissão. Obrigado por avisar!

villares,
@villares@ciberlandia.pt avatar

@guisso acho que agora foi!

FelipeSMBarros,
@FelipeSMBarros@mastodon.social avatar

@villares Ouch. You are not alone. I did something similar but had to convert everything to GeoDataFrame. :/

villares,
@villares@ciberlandia.pt avatar

@FelipeSMBarros thank you Felipe! GeoDataFrame seems to be the key to it... I hope I can get a better grip of it at some point and write more elegant code... at this point it kind of works but is a mess (see last toot...)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • DreamBathrooms
  • InstantRegret
  • GTA5RPClips
  • magazineikmin
  • thenastyranch
  • rosin
  • Youngstown
  • tacticalgear
  • slotface
  • ngwrru68w68
  • Durango
  • kavyap
  • khanakhh
  • osvaldo12
  • JUstTest
  • everett
  • cubers
  • mdbf
  • cisconetworking
  • tester
  • normalnudes
  • anitta
  • ethstaker
  • modclub
  • megavids
  • provamag3
  • Leos
  • lostlight
  • All magazines