[OpenLayers-Users] Format.KML/GML with projections
Bart van den Eijnden
bartvde at osgis.nl
Thu Jun 24 09:05:50 EDT 2010
This used to be the case in proj4js, but it's not anymore. I believe the check has been removed.
Upgrade to the latest release of proj4js.
Bart
On Jun 24, 2010, at 3:04 PM, Dipl. Inf. Carsten Eider wrote:
> I just deepdebugged OpenLayers.
>
> In proj4j.js lin 78 it says:
> if (point.transformed) {
>
> well if my internalProjections is 90913 and my externalProjection for reading the data is 31467
> after reading my points are transformed:true
>
> if i now want to transform these points into 4236 now transformation will be done
>
> is this correct ?
>
>
> Am 24.06.2010 13:46, schrieb Dipl. Inf. Carsten Eider:
>>
>> Hi list,
>>
>> I am having some trouble with a strange behaviour using Formt.KML/GML
>> and different projections:
>>
>> Code
>> var _writer=new OpenLayers.Format.KML({
>> internalProjection:MAP_PROJECTION,
>> externalProjection:proj4326
>> });
>> var _kml=_writer.write(_tmpFeatures);
>>
>> Situation 1:
>> MAP_PROJECTION is EPSG:31467
>> features: originally loaded from EPSG:31467
>> ==> it works fine, KML is in EPSG:4236
>>
>> Situation 1:
>> MAP_PROJECTION is EPSG:900931
>> features: originally loaded from EPSG:31467
>> ==> KML is still in EPSG:900931
>>
>> Similiar probleme appears when using features are in EPSG:900931
>>
>> my version is OpenLayers.VERSION_NUMBER="$Revision: 10129 $"
>>
>> TIA Carsten
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
> --
> Mit freundlichen Grüßen / Yours faithfully
> Carsten Eider
>
> Dipl. Inf. (FH)
>
> Kompetenzzentrum für Innovative Informationssysteme
>
> c/o Fachhochschule Bingen / University of applied sciences Bingen
>
> Berlinstraße 109
> 55411 Bingen
>
> Tel: +49 (0) 6721 / 409-179
> Fax: +49 (0) 6721 / 994-251
> email: eider at fh-bingen.de
> Internet: iis.fh-bingen.de
>
> Diese E-Mail, inklusive anhängender Dateien, kann vertrauliche und/oder rechtlich geschützte Inhalte enthalten.
> Wenn Sie nicht der richtige Adressat sind und diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte sofort den Absender und vernichten Sie sodann die Originalnachricht.
> Die unbefugte Kopie, Weiterleitung oder sonstige Verbreitung dieser Nachricht ist nicht gestattet.
>
> This e-mail, including attachments, may contain confidential and/or privileged information.
> If you are not the intended recipient, please notify the sender immediately then delete the original message.
> Any copying forwarding and/or distribution without permission of the sender is forbidden.
> <eider.vcf>_______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100624/21ad79bb/attachment.html
More information about the Users
mailing list