TerriaJS / nationalmap

Australia's NationalMap
https://nationalmap.gov.au
122 stars 45 forks source link

NationalMap can't seem to Add Web Data from external URLs. #780

Open QuadTog opened 6 years ago

QuadTog commented 6 years ago

Issue We had a user report an issue with the dataset they're hosting: https://www.digitalgraphics.com.au/rtm/suburbs.csv

It won't load the data via 'Add Web Data' but if downloaded and drag-dropped it works fine (albiet with some issues 😄).

So it seems like NationalMap won't read .csv's from external URLs. Mind if we grab some clarification around the processes here?

Results/Screenshots: External URL: image

Drag-Drop: image

AnaBelgun commented 6 years ago

@QuadTog Hi. The team thinks it is a CORS problem. www.digitalgraphics.com.au isn’t in our proxy whitelist, so if the server doesn’t support CORS, it won’t work. To find more info about CORS: https://terria.io/Documentation/guide/connecting-to-data/cross-origin-resource-sharing/