Help. I've been having some shp2vec problems. I'm trying to replace an island. My source data has 2 main islands and a number of islets offshore of the main island.
My first naive attempt was to create a HPX shapefile with a single poly feature containing holes for all the islands. shp2vec created a bgl that in tmfviewer drew correctly in some areas and in others had land/water reversals.
So I started playing with the source data in SbuilderX. I found some other strange behaviour, such as some islets might display as holes and others covered with water. Doing a mod in one area might cause a different set of islets to appear in tmfviewer.
Now it just so happened that the main islands overlap 4 QMID 11 cells, so I thought maybe that could be a problem. I went back and reworked my data into multiple polygons, each polygon covering a single QMID 11 or less. In this version the main islands were no longer holes, just the islets. Worked much better (the main islands displayed correctly) but still having problems with the islets showing up. From many experiments (mainly using tmfviewer for speed) it seemed like having a hole overlap a QMID 15 boundary contributed to the problem. Eventually with enough tweaking I got it to display.
Then I found problems with the source data so I started from scratch using different data set. As a test I tried once again to do it as a single poly and this time it looked a lot better. I think the detail of the data is less in this second data set, so maybe that makes a difference. It took some tweaking to get all the islands to show in tmfviewer, but eventually I did. In this try I had the main islands in a single poly, and most of the islets in other polys. But when I looked at it in FSX, only one of about 12 islets showed up. So besides my shp2vec problems, tmfviewer seems to be not perfect either.
I guess I am back to splitting up the main islands into QMID 11 cells and trying again
scott s.
.
My first naive attempt was to create a HPX shapefile with a single poly feature containing holes for all the islands. shp2vec created a bgl that in tmfviewer drew correctly in some areas and in others had land/water reversals.
So I started playing with the source data in SbuilderX. I found some other strange behaviour, such as some islets might display as holes and others covered with water. Doing a mod in one area might cause a different set of islets to appear in tmfviewer.
Now it just so happened that the main islands overlap 4 QMID 11 cells, so I thought maybe that could be a problem. I went back and reworked my data into multiple polygons, each polygon covering a single QMID 11 or less. In this version the main islands were no longer holes, just the islets. Worked much better (the main islands displayed correctly) but still having problems with the islets showing up. From many experiments (mainly using tmfviewer for speed) it seemed like having a hole overlap a QMID 15 boundary contributed to the problem. Eventually with enough tweaking I got it to display.
Then I found problems with the source data so I started from scratch using different data set. As a test I tried once again to do it as a single poly and this time it looked a lot better. I think the detail of the data is less in this second data set, so maybe that makes a difference. It took some tweaking to get all the islands to show in tmfviewer, but eventually I did. In this try I had the main islands in a single poly, and most of the islets in other polys. But when I looked at it in FSX, only one of about 12 islets showed up. So besides my shp2vec problems, tmfviewer seems to be not perfect either.
I guess I am back to splitting up the main islands into QMID 11 cells and trying again
scott s.
.


