New Post: Create Shapefile from Filtered Shapefile
I am learning DotSpatial. I have made good progress with some help and have a embryo app with a plugin that loads (but does nothing yet). I want to...Load a polygon shapefileQuery it Write out a new...
View ArticleNew Post: Multivariate symbology
I want to symbolize nodes (e.g. using IFeatureLayer.Symbology and the FeatureScheme) by representing color of the node with one column from the data table and size of the node by another column in the...
View ArticleNew Post: Label for a curved line
Can anyone confirm if this feature still works in DotSpatial release 1.8 ? In our project the labeling of point feature works just fine, but for linestring features nothing seems to be rendered ?...
View ArticleNew Post: Label for a curved line
Yes this works in release 1.8. Did you label all parts of your LineString or only the largest? Try the largest part to reduce collisions. Have you tried zooming in to a single LineString to check...
View ArticleNew Post: Create Shapefile from Filtered Shapefile
I'm not sure how you queried your polygon shapefile. But if you could use FeatureLayers Selection you can simply convert this to FeatureSet by using IFeatureLayer.Selection.ToFeatureSet(). Then you can...
View ArticleNew Post: Label for a curved line
Thanks for the quick response, i tried all the settings you mentioned. A complication may be that the lines (loaded from memory) contain a LOT of vertices following a river, but even after simplifying...
View ArticleNew Post: Multivariate symbology
Yes this is possible using a FeatureScheme with unique values.PointScheme myScheme = new PointScheme(); myScheme.EditorSettings.ClassificationType = ClassificationType.UniqueValues; You have to add one...
View ArticleNew Post: Some advice on adding open streetmap to my project
I updated the plugin. On my machine serialization to a map document now works, Could you please verify?
View ArticleNew Post: Multivariate symbology
I can see how that would work for small value sets. I have thousands of features though and want to use color ranges since there would be too many unique values. I was thinking about something like...
View ArticleNew Post: LayerSelected behavior is not what I expect
In DotSpatial.Symbology.Layer, in the IsSelected property, the following code exists: if (base.IsSelected != value) { OnLayerSelected(this, value); base.IsSelected = value; } This appears to call the...
View ArticleNew Post: Add a new item in the already provided "File" MenuStrip or ToolStrip
There doesn't appear to be any way to do this short of modifying the source code. In particular, the TableEditorControl in DotSpatial.Symbology.Forms could be trivially modified to add a new...
View ArticleNew Post: add circle symbols to selected polygon vertices
I am trying to add circle symbols to the vertices of a selected polygon feature in C# but I don't know how to go about it. I would be glad if some one can help me out.
View ArticleNew Post: Label for a curved line
I found the problem as I debugged down into MapLabelLayer.cs, the PlaceLineLabel method expects a basic geometry of type LineString but this particular layer i am feeding it consists of MultiLineString...
View ArticleNew Post: Some advice on adding open streetmap to my project
Yes it works perfekt with my aplication too. Many thanks!!
View ArticleNew Post: Label for a curved line
OK, finally i found the solution, which is a bit confusing to me ;-) The problem was that we created our LineString features from code like this: featureSet.AddFeature(new Feature(FeatureType.Line,...
View ArticleNew Post: Label for a curved line
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...
View ArticleNew Post: add circle symbols to selected polygon vertices
What for do you need those circles? Maybe you could have a look at the MoveVertex feature of the Editor Plugin.
View ArticleNew Post: add circle symbols to selected polygon vertices
I am developing an application for generating bearing and distances for selected polygons but it needs to select the vertices and number them before generating the bearing and distance as text element...
View ArticleNew Post: Label for a curved line
**jany_ wrote:** 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...
View ArticleNew Post: Label for a curved line
As long as your code is working for you I don't see a reason to change it. The problems were just something I ran into when I started using DotSpatial and have seen in some discussion posts. At this...
View Article