Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help to import and set up map for Lisbon, Portugal #809

Open
temospena opened this issue Nov 18, 2021 · 5 comments
Open

Help to import and set up map for Lisbon, Portugal #809

temospena opened this issue Nov 18, 2021 · 5 comments

Comments

@temospena
Copy link

Hi! This is a really really great tool.

I need some help to import and set up the map for Lisbon (Portugal).
I tried, but something must be wrong.

image

Ok, prob related with this issue: #32

Is the workaround is to avoid the Tagus river?

@dabreegster
Copy link
Collaborator

Screenshot from 2021-11-18 16-39-07
Indeed the problem is interpreting the coastline correctly. Temporary workaround is to exclude the Tagus. I'll see if I can make progress on the water polygon clipping, though...

@dabreegster
Copy link
Collaborator

Screenshot from 2021-11-19 10-03-46
So actually the Tagus is fine. As soon as the boundary includes https://www.openstreetmap.org/way/975228400 by Alcântara Dock, then the coastline tracing messes up and inverts where the ocean is. If we just clip around that, things're fine. Do you have a GeoJSON boundary for the city? I can get the import working for this Sunday's build.

@temospena
Copy link
Author

Sorry for late reply.
Sure!
Here it is for whole city: https://web.tecnico.ulisboa.pt/~rosamfelix/gis/trips/LISBOA.geojson
And for a smaller central area, as shown in the above figure (but respecting the tracts for OD data): https://web.tecnico.ulisboa.pt/~rosamfelix/gis/trips/LISBOAcentral.geojson
Thanks

@dabreegster
Copy link
Collaborator

I vastly underestimated how much time moving continents would take, sorry for just now getting to this. I'll add a web link when the new build is ready in a few days. I adjusted both areas just to reduce the number of points in the polygon. The entire area has the water flooding bug, but the city center is fine. We can iterate later, this should be enough to start.

@dabreegster
Copy link
Collaborator

Sorry for the delay, the new release is out with Lisbon. Since the area is large, I'd recommend using the downloadable version. But http://play.abstreet.org/0.3.2/abstreet.html?system/pt/lisbon/maps/center.bin&--dev works too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants