New Post: Deleting Selected Features
Hi Jany, I inserted your code and had a try - with the result that everytime I called pFLayer.RemoveSelectedFeatures all Features were deleted. But this was when I used it on the shapefile that I had...
View ArticleNew Post: Deleting Selected Features
Good to know it works for you and you're welcome. And yes the other file was most probably corrupt. I remember my files being unuseable before I found the solution.
View ArticleNew Post: How to zoom to a specific location?
Hi, You can use the CoordinateDialog of DotSpatial Private Sub ZoomToCoordinates() Using CoordinateDialog = New ZoomToCoordinatesDialog(Map1) CoordinateDialog.ShowDialog() End Using End Sub
View ArticleNew Post: Add WMS Layer
Hi, I recomend to use the BruTile plugin from Felix Obermaier, this gives you a perfect web map resolution with all zoom Levels.https://dotspatial.codeplex.com/discussions/434189
View ArticleNew Post: GDAL data provider tutorial
I have two observations and one question about "Tutorial (9) Accessing GDAL data provider in DotSpatial". Observation 1: If you add the Application Extensions folder to your Visual Studio project, set...
View ArticleNew Post: Some advice on adding open streetmap to my project
Dear All, to close my issue I report a hint given to me by Felix. Hello Oscar, I assume you do some zooming and/or panning prior to creating or editing your geometries. Therefore, with every click you...
View ArticleNew Post: How to delete a selected line?
Hi, Please show me how to delete a selected line. This is my code but it does not work. List<IFeature> SelectedFeatures = lineLayer.Selection.ToFeatureList(); if (SelectedFeatures.Count > 0) {...
View ArticleNew Post: How to delete a selected line?
This code is in vb but it should give you your answer. pFLayer is your lineLayer as IFeatureLayer _map is your DotSpatial.Controls.MappFLayer.RemoveSelectedFeatures() pFLayer.DataSet.UpdateExtent()...
View ArticleNew Post: PrintLayout on Mono (Linux)
Hello everybody, I started work on a GIS-Application which I also test/use on a Linux-system (Ubuntu 15.10, Xamarin-Mono 4.2.3.4). Nearly everything works fine so far, with only one exception. I can...
View ArticleNew Post: How to delete a selected line?
Hi, jany_ I did as you said but it does not work. Please help me. Thank you!
View ArticleNew Post: How to delete a selected line?
How am I supposed to help you if you don't even tell me what happens?
View ArticleNew Post: drawing custom symbols
Hello, I am trying to find a solution to place several custom gauges (showing the number of cars passing on specific routes, it is an object not an image) on a map of a city drawn using dotSpatial. Is...
View ArticleNew Post: How to delete a selected line?
I am sorry, jany_ I run my project but the line was not deleted. The data of the line remains unchanged.
View ArticleNew Post: How to delete a selected line?
This isn't helping much. Could you create a test project that I can run to check your error?
View ArticleNew Post: Is there a way to findout if inserted polygon is overlapping...
I have read https://dotspatial.codeplex.com/wikipage?title=UnionShapesCS&referringTitle=Desktop_SampleCode for getting union of two polygons, which is stated below public void UnionShapes() {...
View ArticleNew Post: PrintLayout on Mono (Linux)
I believe it's generally well-known that WinForms on Mono is not entirely complete or compatible with .NET WinForms. I would guess you've hit something like that. In general, I would not use WinForms...
View ArticleNew Post: How to delete a selected line?
Thank you, jany_ If you do not mind, could you give me your email address? Then I can attach my test project with my email. My email address: lanletech@gmail.com Thank you once again!
View ArticleNew Post: DotSpatial.Data.Database Interim solution error on compilation
Thank you FObermaier, for all the help, thank you jany_ for your help as well. I have the database working well. Kind Regards Worlanyo
View ArticleNew Post: How to draw a curve?
Hi there, Can I use Dotspatial to draw a curve? If yes, please tell me how to do this. Thank you so much!
View ArticleNew Post: Some advice on adding open streetmap to my project
Does the BrutileLayer.Plugin support ordinary WMS too?
View Article