0
votes
1answer
90 views

OpenLayers SVG sprite externalGraphic only works in Firefox

I am trying to set the externalGraphic property of a vector layer's style to an SVG sprite that has various viewboxes to position the icons dynamically by creating different views within my SVG file: ...
3
votes
1answer
132 views

Loading multiple feature types as one layer in OpenLayers

I have a kml file which contains some polygon and some point features in the same file. I am trying to load and view this layer on my basemap in OpenLayers. The problem is that the polygon features ...
1
vote
0answers
30 views

OpenLayers - Get LayerName from GML Response object

I am using the WMGetFeatureInfo control in OpenLayers to select items from my layers and return GML. I use this to get an attribute from the GML; var val = evt.features[0].attributes.UID; //Where ...
0
votes
1answer
399 views

java.lang.NullPointerException with GeoServer and Postgis

I am continuing work that another person began based on Geoserver and postgis. On the database level there are many tables and the layers are views based on these tables. That is working great! Now I ...
0
votes
0answers
160 views

using mapnik xml file to render tiles in python

Is it possible to use an xml file in python? without using the bindings for python for mapnik. basically i'm using django/geodjango, postgis and well i decided i'd try and design the map on tilemill ...
2
votes
4answers
753 views

problem in reading kml data in openlayers

I am trying to read an KML file (point feature) and show it on a vector layer on OSM as the base map. My code seems to have a problem that does not show the features on the map. I don't now if its the ...
1
vote
1answer
235 views

How do I overrideMimeType in Openalyers.Request.Get

I can't find any info on this. When performing a GET request with the following format, I cant figure out how to add the request for "overrideMimeType("application/xml")": request = ...
1
vote
0answers
948 views

Adding Access-Control-Allow-Origin: * to Jetty in Geoserver [closed]

So i am trying to add Access-Control-Allow-Origin: * In the Jetty config file, on which the Geoserver is running to receive the contents from popup (which I am not receiving since there is no ...
2
votes
1answer
427 views

How to add more than one xml file per layer

I'm using this code to add xml (osm relations) files to my map. osm_layer = new OpenLayers.Layer.GML("Polygon", relation.xml, { format: OpenLayers.Format.OSM, style: {strokeColor: "blue"}, ...
2
votes
1answer
367 views

OpenLayers WPS function fails in IE

I am making a WPS call in OpenLayers which works successfully in Chrome and Firefox but not in IE9. The response from IE tells me "Process failed during execution\nCould not convert to target type ...