New Post: Displaying shapefile points/coordinates at the correct location
Hi All, Hopefully a quick consultation regarding projection. I was trying to create a circle of points from a given point which will be the vertex. When I opened the shapefile containing the circle of...
View ArticleNew Post: Displaying shapefile points/coordinates at the correct location
What you did was to switch between the X/Y-Value of your coordinate in your projection and the screen value that is needed to draw this coordinate in the visible screen. Then you build a pixel based...
View ArticleNew Post: Porting from MapWinGIS 4 to DotSpatial
Does DotSpacial provide a superset of the functionality provided by MapWinGIS? I would think this would have to be true since MapWindow 6 will be based on DotSpacial. However, I do not see it stated...
View ArticleNew Post: How to zoom to a specific location?
CoordinateDialog is just the name of the variable. So your change is correct. The code I posted was simply missing the var because I didn't check whether it compiled correctly. Try the DMS value...
View ArticleNew Post: Displaying shapefile points/coordinates at the correct location
thank you for your reply. **jany_ wrote:** As far as I can tell this has nothing to do with projection the way DotSpatial understands it. I see. I'm trying any of the samples I come across. I just want...
View ArticleNew Post: Displaying shapefile points/coordinates at the correct location
Yes this solution seems to make more sense. Using pixel makes sense if you're drawing something like MapFunctionMeasure or are trying to get something inside a certain radius whose size differs based...
View ArticleNew Post: Displaying shapefile points/coordinates at the correct location
Thank you for your help. This solves my problem. **jany_ wrote:** don't add each point to features but create one Multipoint feature from all the circleCoordinates like you did in the code above. I'll...
View ArticleNew Post: How to zoom to a specific location?
**jany_ wrote:** CoordinateDialog is just the name of the variable. So your change is correct. The code I posted was simply missing the var because I didn't check whether it compiled correctly. Got it....
View ArticleNew Post: Saving and Loading layers as .dspx
This is related to this discussion I am saving through a save file dialog by saving first all layers before saving the project: foreach (FeatureLayer layerToSave in map1.Layers) { string strFilename =...
View ArticleNew Post: Saving and Loading layers as .dspx
Not sure why your adding layers to the map before you're opening your project. But what I suggested to Ehsan was to save the layers to file on creation and load them from file to add them to the...
View ArticleNew Post: Saving and Loading layers as .dspx
Thank you for your reply jany_. Updating the code as foreach(string strSHPFile in strSHPFiles) //loop through each filename { IMapFeatureLayer targetLayer = appManager1.Map.Layers.Add(strDirPath + "\\"...
View ArticleNew Post: Saving and Loading layers as .dspx
FeatureLayer.Dataset.SaveAs saves the shapefile. That means the geometries to shp file and any attributes that were added to the dbf file. The labels are saved to the dspx. Did you label your layers...
View ArticleNew Post: Saving and Loading layers as .dspx
Thank you jany_ for your input. I updated the program flow to accommodate the recommended sequence. It now works!
View ArticleNew Post: WMS and dotspatial.
Has someone the code or a library to load caps not predefined WMS with dotspatial? Example, WMS of PNOA. Thanks.
View ArticleNew Post: WMS and dotspatial.
Have a look at the WebMap plugin. It's able to load wms layers.
View ArticleNew Post: WMS and dotspatial.
Have you some code of example in the one that it could use? Thanks.
View ArticleNew Post: BruTile for Dotspatial 1.9
How to add an BrutIleLayer to map in Dotspatial 1.9?
View ArticleNew Post: How to delete a vertex of a polygon?
Hi there. Can I delete a vertex of a polygon? I drew a polygon. I want to edit it by deleting some vertexes. Please tell me if it is possible. I tried but it failed. Thank you so much!
View ArticleNew Post: Extract points from MapLineLayer
Hello, I got a roads layer and I need to extract all points of one of the road in the shape file. Any help is very appreciated! Thanks all.
View Article