Hi Ethan,
ok, where to upload the data?
Hardy
Hi Ethan,
ok, where to upload the data?
Hardy
Hi Hardy,
You can upload it to our FTP, but I think put it on GoogleDrive should be faster.
You should want to send the share link via forum message if you think it’s private, and please update post to let me know.
Regards,
Ethan
Ethan,
that’s there reference geom as shape https://drive.google.com/file/d/1NkU0bzg-OX14s-qgfTauLkrsBFAuNhYJ/view?usp=sharing
Geotiff follows…
Hi Hardy,
It looks Geotiff is still not there.
If it’s succeed please let me know and I will download it, now I had started to look into this problem, I will find more test data for it.
Regards,
Ethan
Hi Ethan,
I’m out of office and the upload fails because the internet connection is to slow.
Friday I’m back and will upload …
Regards
Hardy
Hi Hardy,
Thanks for your update.
Regards,
Ethan
Ethan, the upload has finished
https://drive.google.com/open?id=1Cat5EUlq1diA3M-yk3fDzThBDqpQ_aAL
Please send me a not when you downloaded the file.
Regards
Hardy
Hi Hartwing,
Thanks for your update.
The internet connection is to slow, we are downloading this tiff file.
If there are any progresses, we will promptly give reply!
Thanks,
Rex
Hi Hardy,
Thanks for your data, I had reproduced it, our developer will look into it and see what’s the problem.
Zoom one level to:
Any update I will let you know.
Regards,
Ethan
Great!
Regards
Hardy
Hi Hardy,
We had fixed this “jump” issue. Please refer ThinkGeo MapSuite 11.0.0-beta090, you can get it here https://www.nuget.org/packages/ThinkGeo.MapSuite/11.0.0-beta90 this version should be updated in one or two days.
If you have any questions, please feel free to contact us.
Thanks,
Hi Rex_Liu,
when to get the beta you talked about?
At the moment there ist beta089 on nuget…
We like get the fix.
Regards
Hardy
Hi Hardy,
We double check it, the package should be https://www.nuget.org/packages/ThinkGeo.MapSuite.Layers.GeoTiff/11.0.0-beta016.
It looks our developer give the information for two different fix confused.
Regards,
Ethan
Ethan,
we have tested the fix:
The big bug is fixed, but now the gap is growing when moving the map.
Look at my pdf. I have zoomed to a location and panning the map down.
The gap between vector and raster will grow two times, then will fit…
That’s very strange.
If you need data I will upload some GeoTIFF and shape files.
Regards
HardyDok1.pdf (814.7 KB)
Hi Hardy,
The test data is welcome, it can saved our time to reproduced it.
And do you think that’s introduced by this fix?
Regards,
Ethan
Ethan,
you’ll find the shapes in the north of the GeoTIFF area.
Zoom must be 1:50 or lower.
Hope you will fix the bug asap…
Regards
Hardythinkgeo.zip (884.7 KB)
Hi Hardy,
We will handle it in high priority.
Here is the test code for your data, please have a look at it, if the projection usage is different with your scenario please let me know.
winformsMap1.MapUnit = GeographyUnit.Meter;
winformsMap1.MinimumScale = 1;
winformsMap1.ZoomLevelSet = GetCustomZoomLevelSet(10000);
string prjstring = File.ReadAllText(@"..\..\AppData\stellen_Polygon.prj");
Proj4Projection proj4 = new Proj4Projection();
proj4.InternalProjectionParametersString = Proj4Projection.ConvertPrjToProj4(prjstring);
proj4.ExternalProjectionParametersString = Proj4Projection.GetGoogleMapParametersString();
proj4.Open();
//Tiff layer
GeoTiffRasterLayer tifflayer = new GeoTiffRasterLayer(@"..\..\AppData\bevenrode.tif");
tifflayer.Open();
winformsMap1.CurrentExtent = tifflayer.GetBoundingBox();
//Shape layer
ShapeFileFeatureLayer.BuildIndexFile(@"..\..\AppData\stellen_Polygon.shp", BuildIndexMode.DoNotRebuild);
ShapeFileFeatureLayer shplayer = new ShapeFileFeatureLayer(@"..\..\AppData\stellen_Polygon.shp");
shplayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country1;
shplayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
shplayer.Open();
shplayer.FeatureSource.Projection = proj4;
LayerOverlay ImageOverlay = new LayerOverlay();
ImageOverlay.Layers.Add("WorldImageLayer", tifflayer);
ImageOverlay.Layers.Add(shplayer);
winformsMap1.Overlays.Add(ImageOverlay);
Regards,
Ethan
Hi Hardy,
Our developer hadn’t fixed it because it’s more complex than we thought.
But we provide a workaround here:
7899.zip (884.1 KB)
And here is how it looks now:
BTW, we found a small jump which is because TIF file is more exactly than pixel, vector draw based on pixel. We discuss it, it looks we cannot solve it based on currently render logic, but It won’t effect the result because it’s in very deep level.
Regards,
Ethan
Hi Ethan,
i have checked the workaround.
The result is not ok.
You should test rasterhandling using the correct projection. Both are EPSG 25832.
If you do so you will get bad results.
And the Raster is jumping all over the world…
The issue is based on the projection.
But we need to use projection, any project we are in will use 25832 or 25833 as Base Coordinate System.
Hope you can get it right.
Regards
Hardy
Hi Hardy,
Our developer found the two layer cannot cover when set projection like the sample code I mentioned, so they hadn’t added it.
I will look at it again.
Regards,
Ethan