ClemensFischer / XAML-Map-Control

XAML Map Control Library
Microsoft Public License
205 stars 61 forks source link

generic projections by well known text(transversal mercator ...) #30

Closed RichyP7 closed 6 years ago

RichyP7 commented 6 years ago

Hello You said you would like to have a look at my implementation details of the transversal Mercator projection. I built a generic WKT projection which can use Well known text (f.e. by epsg.io) to produce a lot more projections. I did successfully implement it and test it with an wms layer (and server) which used austral lambert and another one with gauss Krueger. I added an extension to wpf.mapcontrol with the use of a dependency to proj4netgeoapi! Maybe you don´t like to have the new dependencies in your project. I separated it to a projection extension but maybe that´s not in your interest. If not maybe you allow me to build an extension project for your library. Your work is magnificent. Thank you

ClemensFischer commented 6 years ago

Hi, I'll have a look at it in your fork. I do generally not accept pull requests. Not sure what an extension project exactly is.

RichyP7 commented 6 years ago

Okay no problem. I meant just an extension library(for extending the functions of yours) to your existing. I wasn't able to build it with the referrencing of the uwp things but should be no problem for you. (Sorry I don't know much about uwp)

ClemensFischer commented 6 years ago

Well, it's open source, so go ahead.

ClemensFischer commented 6 years ago

Hi Richy, please take a look at the last commit. I've added a MapProjections library with a GeoApiProjection class based on ProjNET4GeoApi. You can either set its CoordinateTransform or Wkt property. There's also a UtmProjection class derived from it, which has a ZoneName property.

RichyP7 commented 6 years ago

That was my intention. I like your work. Keep going . Thank you :) 👍