Tag Info

Hot answers tagged

4

You have to subscribe first at the original mailing list: http://lists.osgeo.org/mailman/listinfo/qgis-user http://lists.osgeo.org/pipermail/qgis-community-team/ or whatever list you want to subscribe (full list here) After confirming a response, you can receive and send to the mailing list as individual mails or daily extract as a newsgroup via gmane ...


3

You were very close! This was quite tricky actually as the ArcGIS REST API documentation didn't explain much. According to the requests docs, you can explicitly set the content headers. This worked for me: import requests import os token = 'K6ZZZsf0Xtf...........PLNffN03fWcA..' url = ...


1

You could post the sld to a php-file which writes a sld-file on the server(considering some security aspects). Then you could point to this file: Example: 4 times the same layer, getlegendgraphic with 4 different sld's: ...


1

Since OL3 does not have filter I used CQL filter. I exchanged FILTER : filter with CQL_FILTER : filter in the parameterlist. See http://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html The differense is that CQL Filter has to be build in SQL syntax before added to the parameterlist. Ex: var filter_list = []; var dateFilterString = ...


1

This is a Cross Domain Issue as you are calling a different domain in your XMLHttpRequest than is used for the data. I use a simple Proxy on our Server for the XMLHttpRequest from OpenLayers and the Proxy, in turn, forwards the request onto its true destination. An Example of how to make your own Proxy can be seen here This is also discussed here



Only top voted, non community-wiki answers of a minimum length are eligible