This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Create labels for sattelite images, qgis or osmnx or?

0

Hi all!

I am new to OSM and GIS in general.

I am trying to create labels for sattelite images I have to do building/road segmentation. I've now figured out how to do this with osmnx (phew!), now that I think about it a little more, I was wondering if there might be an easier (better, cleaner) way creating it with open gis? Or would you know of some other way?

What I did with osmnx:

graph = ox.graph.graph_from_bbox(north, south, east, west)
geometries = ox.geometries.geometries_from_bbox(north, south, east, west, tags = {'building':True, 'amenity':True, 'landuse':['commercial', 'residential', 'industrial', 'mixed']})

this creates a map for my corresponding sattelite image (with bbox north south east west)

Edit: this is an example of what I've been able to cook up for now: image

https://imgur.com/a/U48SViV thanks in advance for any tips,

cheers!

oli

asked 11 Oct '21, 17:08

oliver's gravatar image

oliver
31448
accept rate: 0%

edited 14 Oct '21, 05:32

Can you try explaining that again, perhaps in your native language? I've no idea what you are trying to do.

(11 Oct '21, 17:20) SomeoneElse ♦

@SomeoneElse Hi, apologies, English sort of is my first language but I am bad at all of them (:-S), I have a reading disability, I know my writing can be incoherent sometimes.

I have images, I want the corresponding map from openstreetmap with buildings, roads etc. I have figured out how to do this with osmnx, I'll edit above and add a code snippet to illustrate.

(11 Oct '21, 17:38) oliver

Is this for a static image or for a slippy map? What output formats do you want? (Basically, what are you actually hoping to get out of this?)

Are you using your own aerial imagery or another provider's?

(13 Oct '21, 19:44) InsertUser

@InsertUser Hi, thanks, it's a static image, our (non-profits) own aerial imagery. I am attaching what I did with matplotlib above

(14 Oct '21, 05:28) oliver

OSZAR »