[OpenLayers-Users] KML/GML from text file?

Christopher Schmidt crschmidt at metacarta.com
Thu Apr 24 13:35:20 EDT 2008


On Thu, Apr 24, 2008 at 01:30:30PM -0400, Burgholzer,Robert wrote:
> Has anyone loaded a simple KML/GML layer from a local text file?  Maybe
> this is trivial ... 

It may or may not be trivial, depending on your browser. FF2 allows you
to open files via file:/// via XMLHttpRequest. IE7, FF3 do not.

In general, local filesystem access via standard HTTP mechanisms is
going away, possibly due to the security risks that it creates (even
with the same origin policy): If you can't open a file on disk without
explicit user permissino from a webpage, the user is a lot safer in the
end.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list