Hi,
this may be a more of a JavaScript question, but I'll give it a try on 
this list anyway.

I have an OpenLayers application where user can upload his/her own 
shp-file onto server (FeatureServer). Also user can "download" them back 
as an Openlayers wfs-layer. So the url in that wfs layer definition is 
dynamic:

    parameters = dataid + "?format=wfs&userid=" + userid + "&sposti=" + 
sposti + "&dataid=" + dataid;
    fserver = new OpenLayers.Layer.WFS("Uploaded SHP", 
"http://mydomain.com:8080/cgi-bin/featureserver-1.12/featureserver.cgi/"+ 
parameters,{},{extractAttributes: false, projection: new 
OpenLayers.Projection("EPSG:2393"), styleMap: shpStyle});

dataid, userid and sposti are parameters which user have to fill in 
before uploading the shp-file. Afterwards, he/she can access the 
uploaded shp-file with those parameters through wfs. This works in 
Firefox but not in IE. How come? Any ideas?


- mika -
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to