Comments (2)
MapProxy parses the feature info documents when it needs to combine multiple sources and then serializes the result to XML again. I assume that the result is then encoded in UTF-8, which is the default encoding of XML. Do you have any encoding issues? Can you upload the feature info documents from your sources and from MapProxy somewhere (without editing them to avoid re-encoding from your editor)? Or can you run the files through file
(when you are on linux/unix)?
The <?xml [...]?>
header is itself optional, but I can see if I can add it.
from mapproxy.
I made two requests:
/mapproxy/service?LAYERS=cadaster,cadaster2&QUERY_LAYERS=cadaster,cadaster2&STYLES=,&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&
BBOX=1376799.462315%2C6377191.890336%2C20161963.530315%2C12061660.80883&FEATURE_COUNT=1&HEIGHT=581&WIDTH=1920&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gml&SRS=EPSG%3A900913&X=291&Y=499&RADIUS=15
and
/mapproxy/service?LAYERS=cadaster&QUERY_LAYERS=cadaster&STYLES=,&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&
BBOX=1376799.462315%2C6377191.890336%2C20161963.530315%2C12061660.80883&FEATURE_COUNT=1&HEIGHT=581&WIDTH=1920&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gml&SRS=EPSG%3A900913&X=291&Y=499&RADIUS=15
in the first case, returns HTML-Entities
in the second, returns ISO-8859-1
how can I get ISO-8859-1 in the first case?
from mapproxy.
Related Issues (20)
- Clipping in coverage does not work when coverage is in cache HOT 4
- Missing reference to self when setting `cache_dir` for `file` cache when `dimensions` is supplied HOT 2
- Unknown start tag in capabilities HOT 3
- AttributeError: type object 'TestCase' has no attribute 'failUnless' with Python 3.12 HOT 1
- ShapelyDeprecationWarning: The 'type' attribute is deprecated HOT 1
- Skip redundant HEAD request to s3 cache
- Downscaling mechanism incompatibility with coverage clipping HOT 1
- problem with ArcGIS compact cache v2 in local SRS HOT 1
- Mapproxy rejects colon in s3 bucket name HOT 1
- make_app func does not return anything and causes requests to MapProxy to fail
- GetFeatureInfo fails for several layers query if one query layer returns an empty set HOT 1
- Docker image ghcr.io/mapproxy/mapproxy/mapproxy:2.0.2-dev doesn't contain necessary pip packages HOT 5
- Add support for cache layout templates
- Compact Cache on s3
- Unable to featch tiles from URL with unicode characters HOT 1
- Mapproxy restart multiple times at startup
- Service initialisation times are extremely high with nested caches
- `remove_all` does not remove cache
- 'bulk_meta_tiles' does not work for 'sqlite' caches
- global: background: generate error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapproxy.