[OpenLayers-Users] Problems with Internet Explorer: Digitizing tools, Loading GML/KML files, ...

Sebastian Paasche paasche at rapideye.de
Wed Nov 5 09:57:28 EST 2008


So just for my understanding: I am not allowed to load vector data files from 
the same directory where my HTML page is placed?

HTML in d:\web\html
Javascript  (incl. openlayers) in d:\web\js
files in d:\web\kml

//load data in Javascript
var kml = new OpenLayers.Layer.GML("KML", "../kml/data.kml", 
               {
                format: OpenLayers.Format.KML, 
                formatOptions: 
                {
                  extractStyles: true, 
                  extractAttributes: true
                } 
               }
    );

URL in IE 7: d:\web\html\myPage.html

So this is not possible, isn't it? But putting everything in a web server 
might solve my problem?

Thanks,
Sebastian

On Wednesday 05 November 2008, Christopher Schmidt wrote:
> Access denied typically means you're violating the Same Origin Policy.
> Specifically, it may mean that you're attempting to use file:/// URLs in
> IE7, which you can't do.
>
> Regards,



-- 
Sebastian Paasche              	   Tel.: ++49-(0)3381-8904-332
RapidEye AG                    	   Fax:  ++49-(0)3381-8904-101
Molkenmarkt 30		       	   E-Mail:paasche at rapideye.de 
14776 Brandenburg 		   web:http://www.rapideye.de
Germany 

RapidEye AG
Molkenmarkt 30
14776 Brandenburg an der Havel
Germany

Head Office/Sitz der Gesellschaft: Brandenburg an der Havel
Management Board/Vorstand: Wolfgang G. Biedermann
Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Axel Schmalz
Commercial Register/Handelsregister Potsdam HRB 17 796
Tax Number/Steuernummer: 048/100/00053
VAT-Ident-Number/Ust.-ID: DE 199331235
DIN EN ISO 9001 certified

*************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The information in this e-mail is intended for the named recipients
only. It may contain privileged and confidential information. If you
have received this communication in error, any use, copying or
dissemination of its contents is strictly prohibited. Please erase all
copies of the message along with any included attachments and notify
RapidEye AG or the sender immediately by telephone at the number
indicated on this page.



More information about the Users mailing list