tilezen / vector-datasource

Tilezen vector tile service - OpenStreetMap data in several formats
https://www.nextzen.org/
Other
505 stars 118 forks source link

import data shapefiles.tar.gz 404 #1479

Closed m-abboud closed 6 years ago

m-abboud commented 6 years ago

make -f Makefile-import-data fails with a 404 on http://s3.amazonaws.com/mapzen-tiles-assets/20171201/shapefiles.tar.gz now

andmake -f Makefile-prepare-data fails on http://s3.amazonaws.com/mapzen-tiles-assets/curated/buffered_land_05232017.zip

va2ron1 commented 6 years ago

Apparently all the data of mapzen is already offline, we need to wait for updates or alternatives.

rmarianski commented 6 years ago

Right, it's because those buckets were removed recently. We'll be working on trying to provide an alternate way of getting started.

Depending on what your goals are, you could be able to hack it to move past this point. Most of the data comes from natural earth, with the details in the assets yaml file.

But if you're able to sit tight for a little bit we'll have updated instructions that will be easier.

m-abboud commented 6 years ago

Yeah found out about the yamls used for generating the makefile scripts already. Removed buffered_land from the list and regenerated shapefiles.tar.gz with the prepare-data makefile and threw it on our own s3 bucket.

Tileserver didn't barf when doing a wget for a tile so looks like it's somewhat happy without that one shapefile. (Haven't tested out actually displaying the tiles yet though)

Not really sure what's supposed to be in the buffered_land shape file I searched the repo for it and just found some issues that mention it needs to be updated nothing on how it's actually generated and the file only existed on mapzens s3. Luckily it appears to be the only truely missing file.

If anyone happens to have it lying around it would be awesome if you posted it here (sounds like it's only around 10mb) :)

m-abboud commented 6 years ago

oh looks like it was commited at one point: https://github.com/tilezen/vector-datasource/blob/b43f70dd1408d8fa3b781689d0850a90df1355a2/data/buffered_land.zip

From 2015 but I guess that will work for now

nvkelso commented 6 years ago

The latest buffered land file is attached to: https://github.com/tilezen/vector-datasource/issues/1257.

nvkelso commented 6 years ago

We'll repost these files to a Nextzen S3 bucket and update the documentation. @rmarianski for that.

rmarianski commented 6 years ago

Is it attached to that issue? It looks like it's just a link to a whosonfirst s3 location that no longer works. Any possibility that it's still floating around in another location?

stepps00 commented 6 years ago

@rmarianski - This should be a copy of the buffered_land_05232017.zip file that contains an updated buffered land file with a fix for https://github.com/tilezen/vector-datasource/issues/1257.

rmarianski commented 6 years ago

Thanks @stepps00! I'll get this packaged up and put in a public bucket and get the instructions updated tomorrow.

va2ron1 commented 6 years ago

Just a reminder that the shapefiles or buffred_land aren't the only one. Also the dump database of wof_neighborhood doesn't exist in case you're going to update the instructions, but this is easy.

rmarianski commented 6 years ago

Updated shapefiles at a new location: https://s3.amazonaws.com/nextzen-tile-assets/20180313/shapefiles.tar.gz

I need to still update the docs and get the whosonfirst data on there.

m-abboud commented 6 years ago

Awesome thank you!

rmarianski commented 6 years ago

A postgresql dump of the data of the whos on first data can at a new location. I updated the wiki instructions to point to this new location.

nvkelso commented 6 years ago

@rmarianski Does this buffered land reference also need updating?

rmarianski commented 6 years ago

https://github.com/tilezen/vector-datasource/blob/master/data/assets.yaml#L25

It does, but it's a "code" update so holding off on that for the time being. But, I'm happy to put in a pr for it now if that's cool with you.

nvkelso commented 6 years ago

Noting here we'll need to modify:

To reflect:

bucket: nextzen-tile-assets
datestamp: 20180313
nvkelso commented 6 years ago

Following up from https://github.com/tilezen/vector-datasource/pull/1484 which exposed similar problems for CircleCI config:

This one is setup now:

In retrospect we should probably call the bucket tilezen-assets... and then https://github.com/tilezen/vector-datasource/issues/1485 for the CircleCI changes.

nvkelso commented 6 years ago

Todo:

zerebubuth commented 6 years ago
zerebubuth commented 6 years ago

1486 has been merged. Apologies to everyone who has been blocked on this. Please try again and let us know if you run into any issues.