Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Label for a curved line

$
0
0
I found that using AddFeature with a new feature is never a good idea. I think creating a feature without a featureSet seems to be a bad idea too. That seems to cause more problems than it helps.

I think labeling MultiPolygons works so we should be able to label MultiLineStrings too. I'll check again why I thought it worked for me. Maybe it just didn't work because you create a MultiLineString in a way I didn't know or think about.
I'm currently working on integrating the newest NetTopologySuite. That means that FromBasicGeometry should become obsolete as soon as I'm done. I couldn't figure out why we have those BasicGeometries (which the original NTS-code doesn't) just to convert them to full geometries again and again.

I'm glad you found a way to get it working and that you like the labeling feature. It's always nice to know when you create something others find useful. ^^

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>