New Post: load raster layer
The GDAL plugin supports a large number of raster formats. I don't know them all off the top of my head. What is this .aux format? is this part of the ESRI grid format? If so you can use the GDAL...
View ArticleCommented Issue: ManhattanShapes error [24146]
I am experiencing a little problem in converting an integer raster to polygon shapefile using manhattanshapes.here is the code Dim a As New DotSpatial.Plugins.Taudem.Port.ManhattanShapes(fname) Dim g...
View ArticleNew Post: Manhattan shapes error
Oscar, try using DotSpatial.Tools.RasterToPolygonIFeatureSet fs = new FeatureSet(DotSpatial.Topology.FeatureType.Polygon); IRaster r = Raster.Open("myraster.bgd"); DotSpatial.Tools.RasterToPolygon d =...
View ArticleNew Post: Geodesic measurement
Dear all, I was wondering if anyone knows if dot spatial has support for geodesic measurement? I found geographic lib which does support it but i has only C implementation. I could go down the path of...
View ArticleNew Post: Manhattan shapes error
Hi Dan I tried, but if I place null (nothing, since I am working in vb.net) for the cancel progress handler it throws an error. This happens at line 269 of RasterToPolygon.cs I have never worked with...
View ArticleSource code checked in, #71844
Changed Contract.Assert(...) in Proj4.cs to Assert.True(...). If the condition tested here was not true, the entire test was stopped which doesn't make a lot of sense when you are running 3000 tests....
View ArticleNew Post: Manhattan shapes error
Ok, I saw that there are some changes done by mogikanin on rasterToPolygon, I am working with an old version, I will check the new version Thanks Oscar
View ArticleNew Post: Manhattan shapes error
No, changeset 71844 but still the same problem, throws a null reference exception if I pass nothing to cancelprogressHandler Is it a bug? Any Idea? thank you Oscar
View ArticleNew Post: Manhattan shapes error
Well the cancelprogresshandler is a useful object anyway. So maybe just create a cancelprogresshandler object and pass it in.
View ArticleNew Post: load raster layer
hiyes .aux format is one of ESRI grid format,Actually i can load DataExtention folder in my project and then i just can read 3 or 4 format of raster in my project(.tif,.gpg,.img and .bgd format)when I...
View ArticleNew Post: DBF Text Field Size
I have created a point featureset with multiple populated attributes and successfully set the text columns' maxwidth property in the featureset datatable; however on save [fs.SaveAs("F:\...\test.shp",...
View ArticleNew Post: DBF Text Field Size
Looks like you may have found a legitimate bug in DotSpatial. Feel free to post this on the issue tracker. If you find the code in DotSpatial.Data that needs to be updated that would be great too. - Dan
View ArticleNew Post: load raster layer
Sorry I can 't be more helpful. I don't understand your source code configuration. You must have some other plugins installed such as the extensions manaager which is trying to update other plugins....
View ArticleNew Post: open shapfile and raster
hi anasr, you can use this code to open both shapefile and raster data: map1.AddLayers(); which map1 is the Map component you've added in the Form Design. With this code, you can open many data file...
View ArticleCreated Issue: Saved Int32 value in DBF is read as Int64 [24177]
If have created a test to write Int32 values with the FeatureSet to the DBF. When reading the data back a cast exception is thrown, because the FeatureSet reader has determined that the value is of...
View ArticleCreated Feature: Raster symbology does not update the map [24180]
The following code the raster layer just changes the legend, but map does not change until apply changes in the properties. private void button1_Click(object sender, EventArgs e){ IRaster r =...
View ArticleCommented Feature: Raster symbology does not update the map [24180]
The following code the raster layer just changes the legend, but map does not change until apply changes in the properties. private void button1_Click(object sender, EventArgs e){ IRaster r =...
View ArticleCreated Issue: DBF text field size from fs.SaveAs() [24181]
DBF text field size in a shapefile created through fs.SaveAs(“F:\...\test.shp”, true) is set to “254” rather than the maxwidth property of the input featureset datatable. The modified sample code...
View Article