New Post: Latitude and Longitude
I've tried to use both Map0.Projection = tkMapProjection.PROJECTION_GOOGLE_MERCATOR Map0.PixelToDegrees x, y, Xx, Yy thatMap0.Projection = tkMapProjection.PROJECTION_WGS84 Map0.PixelToDegrees x, y, Xx,...
View ArticleNew Post: Enabling tif compression
Hello all, I'm working on an application that creates a bunch of gis output and it would be quite helpful to enable tif compression to reduce file sizes. From the API documentation it looks like there...
View ArticleNew Post: Enabling tif compression
Hi Colin, exactly which methods do you use to produce output? We have TiffCompression global setting indeed. But perhaps it's not used everywhere throughout the code. Regards, Sergei
View ArticleNew Post: Enabling tif compression
Basically I'm doing something like this... Dim outputGrid As New MapWinGIS.Grid Dim outputFile as String = "c:\temp\test.tif" outputGrid.PutFloatWindow(0, 5000, 0, 500, outputpixels(0))...
View ArticleNew Post: Latitude and Longitude
Strange indeed, this method is working for me. You can also try to do the conversion in 2 steps: PixelToProj and then ProjToDegrees. Another option is to convert Google Mercator coordinates you are...
View ArticleNew Post: Enabling tif compression
Using gdal in python I would specify the following arguments in the driver.Create function call: create_args = ['COMPRESS=LZW', 'PREDICTOR=2', 'TILED=Yes', 'BLOCKXSIZE=128', 'BLOCKYSIZE=128'] I'm not...
View ArticleNew Post: Enabling tif compression
oops, PutFloatWindow would come after outputGrid.CreateNew!
View ArticleNew Post: Latitude and Longitude
The only thing I want to get the coordinates are indicated by the red arrows in the picture attached. If they are visible on the map, must be able to read...
View ArticleNew Post: Enabling tif compression
No, the setting wasn't used. I've committed a quick fix. We are preparing v4.9.3.5 now, so it's likely that this fix will be released within a few days. It would be good to allow to pass other creation...
View ArticleNew Post: Latitude and Longitude
Internally MapWinGIS uses an instance of GeoProjection class with initialized transformation from map coordinate system (GoogleMercator in your case) to the WGS84 coordinate system to display the...
View ArticleSource code checked in, #378e5d9d0210fbede82a7bc5006202c369062fa9
Couple of dispids for recently added members changed to make them consistent with 4.9.4 version.
View ArticleSource code checked in, #609d5f4bdc4d823293ea7001a8456111819154b0
Using GlobalSettings.TiffCompression in Grid.Create method.
View ArticleNew Post: GridColorScheme not working on int data types
I've recently upgraded from 4.8.3 to 4.9.0. The code that I had previously to display a grid using a GridColorScheme has stopped working on integer (unsigned 8 bit) but if I convert the tif to a float...
View ArticleNew Post: GridColorScheme not working on int data types
If you can provide me a sample file, I can check how the current 4.9.3.4 version is handling it and try to resolve possible problems. Regards, Sergei
View ArticleNew Post: GridColorScheme not working on int data types
Hello Sergei, I've been trying to figure out what exactly is causing some layers to disregard the colorscheme and haven't come up with anything definitive. I was able to get a different byte type...
View ArticleNew Post: Version 4.9.3.2 x64 not found
I'll second the request for a 64 bit version. I've recently upgraded from the 4.8 version and have been missing a 64 bit version. I tried to follow the instructions for building it from source and it...
View ArticleNew Post: GridColorScheme not working on int data types
FYI, I reverted back to 4.8.6 to test this issue and these same layers display fine on that version of MapWinGIS
View ArticleNew Post: GridColorScheme not working on int data types
I tested your files with the 4.9.3.4 version. I observe the same behavior. The problem is with the selection of the rendering routine. If the following clause is true:if (_dataType == GDT_Byte...
View ArticleNew Post: GridColorScheme not working on int data types
P.S. Most likely I'll restore the old behavior for this type of files (GDT_BYTE single band), as it wasn't done on purpose (just difficult to test every type of file). If color scheme is present it's...
View ArticleNew Post: GridColorScheme not working on int data types
That's great! Thanks for looking into it. I was mistaken in the version I was using it was actually 4.9.2 which is the latest with 64 bit binaries available. For the time being I think I'll stick with...
View Article