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

JOSM export link returns 500 error #83

Open
ebenenglish opened this issue Jan 9, 2019 · 3 comments
Open

JOSM export link returns 500 error #83

ebenenglish opened this issue Jan 9, 2019 · 3 comments

Comments

@ebenenglish
Copy link

The "for JOSM" link in the Export tab returns a 500 error.

Steps to reproduce:

  1. Go to the Export tab for any warped map (e.g. http://maps.nypl.org/warper/maps/7860#Export_tab)
  2. Click the "for JOSM" link.

Rails log shows this error message:

Mapscript::MapserverError (msWMSLoadGetMapParams(): WMS server error. Unsupported SRS namespace (only EPSG and AUTO currently supported).):
  app/controllers/maps_controller.rb:776:in `OWSDispatch'
  app/controllers/maps_controller.rb:776:in `wms'

The link appears in the following partials:

Is this an actual bug, or is it intentional? The JOSM link includes a bunch of what seem like dummy params:
srs={proj}&width={width}&height={height}&BBOX={bbox}

Is the idea that the user is supposed to replace these when using the JOSM link?

Please advise, thanks!

@timwaters
Copy link
Contributor

timwaters commented Jan 9, 2019 via email

@bellegis
Copy link

Hi -- at Leventhal Map we use the JOSM link to bring the maps into ArcGIS Online. For some reason the WMS link doesn't work in AGOL. It would be good if clicking for JOSM didn't give that error message. We want to be able to teach students how to integrate our digital collections (georeferenced through map warper) with making Story Maps for class, but the for JOSM is the only one that works:

https://geo.leventhalmap.org/maps/5304#Export_tab

@timwaters
Copy link
Contributor

I believe the WMS with ArcGIS Online may be due to something with CORS - as this was reported with mapwarper: timwaters/mapwarper#165

I don't have an arcgis online account, but i found this story map which uses the Tiles endpoint: https://www.arcgis.com/apps/StorytellingSwipe/index.html?appid=4d2c4acd2fd841588062c912f6d56d48#

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

3 participants