Giter VIP home page Giter VIP logo

Comments (2)

olt avatar olt commented on June 1, 2024

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.

malig avatar malig commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.