[Tile-serving] [openstreetmap/osm2pgsql] don't split route lines at import (#677)

Federico Marcos notifications at github.com
Mon Jan 23 04:04:00 UTC 2017


Hello, I downloaded the osm data for my region and I want to make spatial querys (for example, does this route intersect with these two points/areas? ) for bus routes.
I can see that the bus routes are being split into several chunks, specially when the bus makes a circle (there are lots of circular parks in my area).

the way I'm importing the data is 
```
osm2pgsql -E 3857 --cache-strategy sparse --slim -d mydb -H localhost -U myuser -P 5432 --hstore --hstore-add-index file.osm
```
I have also tried using the `-G` parameter, but the routes keeps splitting up into chunks.

How would I import the data without splitting the bus routes? 
Thanks in advance

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/677
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170122/659bd5f3/attachment.html>


More information about the Tile-serving mailing list