NET-Mapnik icon indicating copy to clipboard operation
NET-Mapnik copied to clipboard

Confusing versioning

Open rouen-sk opened this issue 10 years ago • 1 comments

Hi, I am a bit confused about versions here. Nuget package I am using: mapnik (x86) 2.1.0, was released in May 2015, and in runtime, in Mapnik.Versions, I can see mapnik version 3.100.0. However, on mapnik download page there is newest version Mapnik 3.0.9 with release date: 26 November 2015. Can you clarify please?

rouen-sk avatar Dec 17 '15 08:12 rouen-sk

Yes, this is confusing.

The nuget package version is independent of the mapnik c++ library. It tracks changes to the actual net-mapnik bindings and follows semver.

As you noticed, the latest mapnik c++ release is version 3.0.9. Unfortunately, the mapnik c++ windows sdk is not always updated at the same time as the "official" mapnik releases. Here is the mapnik c++ windows sdk that net-mapnik uses:

https://mapnik.s3.amazonaws.com/dist/dev/vs2015rc1/mapnik-win-sdk-14.0-x86-v3.0.0-rc1-1158-g73dbec3.7z https://mapnik.s3.amazonaws.com/dist/dev/vs2015rc1/mapnik-win-sdk-14.0-x64-v3.0.0-rc1-1158-g73dbec3.7z

This windows sdk was built from the mapnik code base @g73dbec3 which is pretty close to the v3.0.0-rc1 release (may 2015).

I would expect Mapnik.Versions to report 3.0.0 so this functionality is not correct right now. Mapnik.Versions["Mapnik"] just passes along the MAPNIK_VERSION constant from the mapnik c++ library so this is likely an upstream issue.

Hope this helps sort out the confusion.

jbrwn avatar Dec 17 '15 16:12 jbrwn