- This topic has 10 replies, 2 voices, and was last updated 2 years, 10 months ago by markdorling@gmail.com.
-
AuthorPosts
-
markdorling@gmail.comParticipant
Hi everyone,
Im trying to create a map for London Boroughs in CODAP. Im having some problems with the thumbnails for some boroughs.
As you can see from the first image attached, the coordinates Ive entered in the json file appear on the map and when you click on that area of the map it links back to row/record three for ID 11/Lambeth. Howver, you will notice that no thumb nail appears? Ive zoomed in on the map and looked closely at the boundary lines for Lambeth but I cant see any breaks?
As you can see from the second image, Ive updated the coordinates for ID 11 / Lambeth, replacing them for another London borough called Kingston Upon Thames (the borough on far left of image). Again when you click on the replacement area of the map it links to the correct row in the table but this time the boundary thumbnail is present?
Ive looked at the structure of the coordinates and cant see any difference in structure between the coordinates for Lambeth and Kingston?
Ive attached the json files for both Lambeth with correct coordinates and for Lambeth with kingston’s coordinates.
Ive inspected the HTML to see if there is a problem with thumbnail generation and it appears transparent. When I click in to the boundaries column the coordinates data is present in the cell but it doesnt appear as images?
Really looking for ideas on why the thumb nails arent working?
Attachments:
January 12, 2022 at 4:45 pm #6821Jonathan SandoeKeymasterHello,
Sorry you are having problems with thumbnails not working. I would like to help. You say you attached the .json files. I don’t see them in the post. I only see a PNG. If you can send the GeoJSON files that would be very helpful. (URL’s would work, if they came from a public site.) Alternatively, you could share your CODAP document. (Click on the menu in the upper left of the page, then click on “Share…”, then follow the dialog to create a shared link.)
Thanks,
Jonathan Sandoe
January 12, 2022 at 4:58 pm #6822markdorling@gmail.comParticipantSorry. The max file size prevented the upload…
Attachments:
January 12, 2022 at 5:02 pm #6825markdorling@gmail.comParticipantHere is the table showing that the coordinates data is present in the cell for the row for Lambeth and boundary column.
Attachments:
January 12, 2022 at 5:06 pm #6827markdorling@gmail.comParticipantHere is the json file for London boroughs not working…
January 12, 2022 at 5:18 pm #6829markdorling@gmail.comParticipantHi Jonathan
Many thanks for your offer of assistance! Im struggling with maximum file size and security restruictions that dont allow json files to be uploaded.
Here are the two json files – stored in my dropbox:https://www.dropbox.com/sh/mxtro0het14tu6z/AABGV_wsihn9803xNkJOADiua?dl=0
Otherwise, Im happy to message/commincate directly…
All the best, Mark
January 12, 2022 at 5:30 pm #6832Jonathan SandoeKeymasterHi Mark,
The Dropbox method worked. I can see the problem, so now I should be able to effectively debug it. Please stay tuned. I will let you know what I find out, but I may not be able to get to it immediately.
Jonathan
January 12, 2022 at 5:48 pm #6833markdorling@gmail.comParticipantGreat – thanks Jonathan! Glad you have the files and everything you need to debug the problem. Im completely stumped! No worries – keep me updated (even if it isnt going well).
Ive just put the full London data set in the dropbox for you. If you can figure out the solution and apply it to this – that would be awesome!
January 18, 2022 at 11:46 pm #6837Jonathan SandoeKeymasterHi Mark,
The bug is fixed. The fix should be in the next build of CODAP, probably later this week.
Jonathan
January 20, 2022 at 10:17 am #6841markdorling@gmail.comParticipantThis is wonderful news Jonathan! Thank you so much for turning this around so quickly! The school staff and students based in those boroughs will be so pleased to see their thumbnails.
With my CS background, I curious as to what was the problem? My guess was the thumbnail generator possibly related to the number of coordiantes? Was there previously a limit?
February 8, 2022 at 9:54 pm #6874markdorling@gmail.comParticipantHi Jonathan,
Ive just checked the original URL (json file) for the London dataset that I shared with you… and the two thumbnails (Hillingdon and Lambeth) are missing but the boundaries still appear on the map.
Andee at Turks has kindly reconstructed the json file today to double check my work and the two thumbnails still aren’t working.
Can you confirm that the bugfix was applied, and if it was, can you have another look at why the two thumbnails still aren’t working?
Many thanks, Mark
-
AuthorPosts
- You must be logged in to reply to this topic.