Skip to main content

New answers tagged

0 votes

PostGIS doesn't use spatial index with ST_Intersects

In my case, the index was not working because dynamically created ST_Buffer in CTE was a type of geography, had to cast it to geometry. Then the index worked. WITH rut AS ( SELECT ST_Buffer(lines.line:...
Mateusz Falkowski's user avatar
1 vote
Accepted

Free QGIS Retina/HiDPI map tiles still produce illegible text

You should use the following settings in QGIS: URL: https://retina-tiles.p.rapidapi.com/local/osm@2x/v1/{z}/{x}/{y}.png?rapidapi-key=MY_API_KEY Tile Resolution: Standard (256x256 / 96 DPI) ...
crnm's user avatar
  • 461
1 vote
Accepted

How to merge OSM and Microsoft/Google building footprint data

I ended up resolving this myself after finding this post on Github: If the files you downloaded were extracted at the same point in time, this will always give you a valid data file without duplicate ...
Sidders's user avatar
  • 113
0 votes

Get all OSM-objects for landuse=meadow

I suspect that by far the easiest way with an extract will be to load it into a database using osm2pgsql, and let that decide what is a (multi)polygon or not. Then just select polygon objects out of ...
SomeoneElse's user avatar
0 votes
Accepted

"addr:street" seems to be missing after using osm2pgsql to load data into postGIS

Just to close up the topic, and maybe helping other people struggling like me in the future : (Disclosure, what I say might not be accurate, being currently learning the tools) The data is being ...
Volantis's user avatar
1 vote

How can I get all streets width of Paris

Width hierarchy based on highway category In the openstreetmap-carto/style/roads.mss file of this OpenStreetMap mapnik style, you can gather some notion on how the current default OSM tile style treat ...
marquesine's user avatar
0 votes

Filtering out parts of a relation on osm2pgsql import

For general manipulation, it might actually be easier to filter the data with osmium and/or osm-tags-transform (which is a front-end to osmium) before calling osm2pgsql. That will "just work"...
SomeoneElse's user avatar

Top 50 recent answers are included