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

Error linking to GeoJson files #53

Open
cpelay opened this issue Jun 10, 2024 · 2 comments
Open

Error linking to GeoJson files #53

cpelay opened this issue Jun 10, 2024 · 2 comments

Comments

@cpelay
Copy link

cpelay commented Jun 10, 2024

Hi I can load the sample geojson link provided in the sample report (https://iconmap.azurewebsites.net/mapresources/lad.json) in my PBI dash

however, i keep getting the following error when trying to link to my own geojson files: "An error occurred loading the GeoJson file - in most cases this is caused by CORS policy on the hosting website."

So far, I've tried a few different hosting solutions including Google Cloud https://storage.googleapis.com/spatial_files/Subdivision_Boundary_MONROE_SIMPLIFIED_SUBS_GEOJSON_2024-05-16.geojson

and, 3rd party hosting:

https://enervated-curvature.000webhostapp.com/wp-content/Subdivision_Boundary_MONROE_SIMPLIFIED_SUBS_GEOJSON_2024-05-16.geojson

Privacy settings are set to public in both cases and I am able to view this file in both locations in my browser window.

Screenshot 2024-06-09 231526

Any suggestions?

Thank you.

@PLPaulus
Copy link

Hi, I host my geojson files in a repository on Github and it works fine. Use the URL for the "Raw" file.

@cpelay
Copy link
Author

cpelay commented Jun 11, 2024 via email

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