Yes, this is way off topic. Andra, you could export your data to some spatial format and then use GDAL to convert it to WGS84 and KML.
If you insist on doing the conversion in Matlab, GeoServer uses this Lambert implementation in GeoTools: https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/main/java/org/geotools/referencing/operation/projection/LambertConformal.java Many helper functions are defined here: https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/main/java/org/geotools/referencing/operation/projection/MapProjection.java The GeoTools implementation is released under a LGPLv2.1 licence. You could port it from Java to Matlab or call the compiled Java code directly from Matlab: http://au.mathworks.com/help/matlab/using-java-libraries-in-matlab.html To use this code in Matlab, download a GeoTools release and add gt-referencing jar and its dependencies to your classpath. Further GeoTools questions should be directed to the GeoTools users mailing list. Kind regards, Ben. On 21/04/16 00:36, Rahkonen Jukka (MML) wrote: > Hi, > > Your question has hardly any connection with Geoserver. Did you mean to ask > the question from Matlab users list? > > -Jukka Rahkonen- > > Ureche Andra wrote: > > > My name is Andra Ureche and I am studying in Austria my Master in Aerospace > Engineering.Currently I am doing my thesis together with Schiebel in finding > a flight test area in Austria. > I have created a code in Matlab which is searching this area in a data file > which covers Austria and it is in Lambert EPSG 31287 coordinate system (N,E, > and elevation). The next step is export the solutions from Matlab (polygons > defined by 4 points) into a .kml file for visualization in Google Earth. Here > the problem arrived… I need to convert my solutions to WGS84. > > I have made this Matlab file to convert one point from Lambert to WGS84 but I > am missing 3 degrees and I am not sure what is done wrong. I have attached > the file to this email. > > Can you please help me with this conversion? > > Thank you in advance. > > Kind regards, > > Andra Ureche > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <b...@transient.nz> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users