Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

add jpgpng support for ArcGIS Desktop #58

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

eyeNsky
Copy link
Contributor

@eyeNsky eyeNsky commented Nov 24, 2015

Arc doesn't like the mixed tiles from the -hybrid switch, it will only draw the ones that match the mime type. We've been running a script to change type:jpg to type:jpgpng.

jon.sellars

@klokan
Copy link
Member

klokan commented Nov 24, 2015

The latest version of MapTiler (version 0.6.3+) exports the -hybrid tiles with type:hybrid in metadata. Is this patch required then?

@klokan
Copy link
Member

klokan commented Nov 24, 2015

Jon, is the mime type "image/jpgpng" something specific to ArcGIS Desktop or it simply must be different from standard JPEG and PNG mime?

@eyeNsky
Copy link
Contributor Author

eyeNsky commented Nov 24, 2015

let me check if arc will accept hybrid. seemed to be specific to Arc. Browsers and QGIS worked fine.

@eyeNsky
Copy link
Contributor Author

eyeNsky commented Nov 24, 2015

Also should have specified that it was WMTS.

@eyeNsky
Copy link
Contributor Author

eyeNsky commented Nov 25, 2015

Also, this is the esri desktop client 10.2.

Just checked, and with type:hybrid the mime gets set to png which is expected with " : 'image/png' ". ArcMap then only draws the png's and not the jpgs's.

ArcGis online correctly draws the image, but it is the browser that renders the image not arc.

QGIS and uDig both render correctly.

@klokan klokan mentioned this pull request Nov 30, 2015
@daliborjanak daliborjanak merged commit b783c59 into maptiler:master Dec 1, 2015
daliborjanak added a commit that referenced this pull request Dec 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants