-
Notifications
You must be signed in to change notification settings - Fork 1
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
page_id, thumbnail, and image are sometimes missing from maps #119
Comments
Here is a map without a super low id: |
I think the low ID indicates they were in the database before the page id was added, however all should have been migrated. There are two rake tasks to update page id and thumb url to migrate maps They both should have been run on the above maps so it could be that they could not be found via the rake task. This might be due to the "unique_id" or decoding and encoding that, possibly. It could be easier to delete that one and try importing again? |
@timwaters there seams to quite a lot of maps with the data missing, if deleted and reimported would their control points remain? |
These could be duplicates also: https://warper.wmflabs.org/maps/102 is the same as https://warper.wmflabs.org/maps/82 (with 82 being the one linked from Commons) however, The Stockholm centre map https://warper.wmflabs.org/maps/24 on Commons https://commons.wikimedia.org/wiki/File:Stockholm_center_1870.jpg links to: https://warper.wmflabs.org/wikimaps/new?pageid=5877877 so that one hasn't been duplicated |
There are 14 maps with no page_id Map.where(:page_id => nil).pluck(:id) There were 46 maps with no thumb_url There are 32 maps with a page_id but no thumb_url. I just ran the update_thumb_url rake task, and those 32 maps got updated, leaving just the 14! I ran the update_pageid task and 7 maps could have been updated, but there was already a map with a pageid. 50, 28, 10, 170, 112, 102, 168 Duplicates: 50, 28, 10, 170, 112, 102, 168 |
See the following example from the API where several maps are missing these values:
https://warper.wmflabs.org/api/v1/maps.json?query=stockholm&show_warped=1&per_page=20
I'm noting that these maps have very low ids. Is it possible to reindex this data @timwaters ?
The text was updated successfully, but these errors were encountered: