New Post: Force a layer always be on top
Hi,I have a layer and I want to make it stay op top of other layer when a new layer addes.I can performe a loop when a new layer adds at first remove layer then add other layers to map and then add my...
View ArticleNew Post: HOW TO add or lower the Z of a polyline Z line...
Thanx Oscar.... I will try to puzzle with that a bit.... SO that gives me access to each vertices-point of the polyline? What I also want is to make a CSV exports of a polyline Z So lets say the...
View ArticleNew Post: Force a layer always be on top
Here is the code i use to place a layer on the last spot Dim index As Integer index = Me.myMAP.Layers.Count If index = 0 Then Me.myMAP.Layers.Add(layer) Else Me.myMAP.Layers.Insert(0, layer) End If I...
View ArticleNew Post: HOW TO add or lower the Z of a polyline Z line...
Hi Joska, if what I wrote at the bottom of my last answer is correct I think it is possible. Here a sample code for doing the first part of the output: FileOpen(100, "coordinates.txt", OpenMode.Output)...
View ArticleNew Post: HOW TO add or lower the Z of a polyline Z line...
it produces an error... system.index.outofrangeexception index is outside the matrixboundaries... It cant read the Z value when i disable the z and the m it goes well.... i think it doesnt recognise...
View ArticleNew Post: Writing Z value to Shapefile
I reported the problem, it has been fixed to my knowledge (a few months ago):https://dotspatial.codeplex.com/discussions/535704https://dotspatial.codeplex.com/workitem/25209
View ArticleNew Post: HOW TO add or lower the Z of a polyline Z line...
Furthermore with large files it produces an outofmemory exception. The error points to the first line in this code suggesting that the Int32 capacity is a problem.... I have a shape with 70k...
View ArticleNew Post: HOW TO add or lower the Z of a polyline Z line...
If it is a memory limit it should work if you compile 64 bit and use Long instead of Integer Oscar
View ArticleNew Post: Get GPS data Completely
i have used sample of dotspatial.positioning to get gps data, in sample foreach gps data elements an event occur, like when speedchanged i can do some thing or when new PositionReceived i can handle...
View ArticleNew Post: Read a raster ASCII GRID
Hello, I have a problem because I have a raster (asc) ascii GRID in the following format: ncols 2049 nrows 2049 xllcorner 418192.768 yllcorner 2418087.439 xdim 25.263525390625 ydim 20.121337890625...
View ArticleNew Post: Read a raster ASCII GRID
Hi Claudio, a long ago I made myself a sub to import an ascii raster. Here is the code Public Sub ImportAsciiRaster() Dim linein As String Dim slin() As String Dim ncols, nrows As Integer Dim xll, yll,...
View ArticleNew Post: Read a raster ASCII GRID
Thanks Oscar, I will be very useful, it is a pity that dotspatial or gdal not support this format without having to convert it before. Claudio
View ArticleNew Post: How to get selected element in Layout Control?
Hi Koval_Alex, Why not creating another MapControl which will be smaller than the master one. When selecting a feature, just copy it in an according variable and then add it to a featureSet which can...
View ArticleNew Post: HOW TO add or lower the Z of a polyline Z line...
I noticed something went wrong in my original code.... it seems the Z is listed as a long string so outside the loop it must be set to zero and in the loop it must get increased every loop..... now...
View ArticleNew Post: HOW TO check if a point is within or in a radius of a polygon?
Hello fellow strugglers :o) I have a shape with lets say 10000 polygons of buildings.... And I have pointshape with lets say 10000 points... How do I check if the point is within the building? And how...
View ArticleCreated Unassigned: new GpggaSentence(sentence.Sentence) goes not update...
when usingNmeaInterpreter nmeaInterpreter = new NmeaInterpreter();NmeaSentence sentence = null;string sentenceStr = "$GPGGA,023709.00,2734.90302,S,15306.18218,E,1,12,0.82,38.0,M,38.3,M,,*7D"sentence =...
View ArticleNew Post: HOW TO check if a point is within or in a radius of a polygon?
Is it a 1:1 or 1:n or n:m relation you are expecting?
View ArticleNew Post: Convert Gpx files to polygon shape file
Hi,I am going to convert a gpx file to a polygon..It has a series of points ..I can read each point and form a wkt text and create a polygon. Is there any better way to do this with dotspatial library?...
View Article