This project has moved. For the latest updates, please go here.

Labellayer (missing characters) | Projection (distortion of objects)

Feb 6, 2015 at 2:56 PM
Edited Feb 6, 2015 at 2:57 PM

I'm actually facing 2 problems using sharpmap v1.1:

1) Labellayer

I've noticed that the last character of a lengthy (>= 20 characters) "customized" labellayer-string will be cut when using the "LabelStringDelegate"-option in a MapBox ; and it's always the last character of lenghty strings, whereas shorter strings will be displayed correctly.

Any idea why?

2) Projection of rendered objects

My application creates various "customized" objects like circles or octagons (and so on) and all of them will packed (and displayed) in different vectorlayers. After applying the coordinate-transformation (which works fine for the map itself), all these displayed objects look more like ellipses (...) and not like circles (...) anymore. The geographical location is ok, just the appearance bothers me.

Any idea how to overcome this kind of distortion?

Many thx,
Feb 9, 2015 at 8:18 AM
  1. This problem has been addressed and will be solved in SharpMap 1.2
  2. I suppose you build your circles in geographic coordinates (lat/long) and transform them to some projected corrdinate system (x, y). This is bound to fail.