Hi all.
I cannot let it go this way.
You cannot coordinate any bitmap covering a large area accurately in SGX. It doesn't work.
I challenge anyone to use a large bitmap ( about 20 km x 20km would work ), of any projection, to display positioning accurate to within 5 meters in SGX, at the edges and corner locations.
It can't be done... as the further from the center of the bitmap you go, the larger the distortion of the map. I have tried geographic projection, orthographic projection, UTM... nothing works for a large area. I'm assuming orthographic should work, as it's a meter-distance based system of projection ( unlike SBuilder and Ground2K4 that use geographic projection ).
What can be done is placing many smaller background bitmaps at different lat-long positions, and the effects of the problem can then be minimised... but they still will not be gone. It's just that the distances from the extents of the many small bitmaps to their center refpoints will be smaller... so the placement distortion will be smaller.
Also, there is a problem with slewing in the sim and placing an object via FSUIPC in SGX... SGX will not always place objects where the sim says the plane is centered. That is also very frustrating. This is not a characteristic of the slewing/FSUIPC use in Ground2K4 or SBuilder... terrain or objects are located where the sim says they are.
The great difference between Sbuilder ( or Ground2K4 ), and SGX, is that SBuilder and Ground2K4 use geographic projection, and require no mathematical translation to place objects in a metric-distance based format... so I assume that's where the problem lies. If SGX were to adopt the geographic projection, the problem would most likely disappear.
==============
In SGX, you can place an object at a particular lat-long, and it will display correctly, as the XML code simply uses that info.
But placing a house near a road intersection, using a large background map, such as a bitmap from LWMViewer, will only lead to frustration. The further from the center refpoint, the worse the displacement. Trying to adjust the center of the map, or it's scale will only throw off other placements.
Unless there is a form of projection I haven't tried, SGX will never be able to accurately place objects to a bitmap covering a large area... something's wrong with the math, or I'm using an incorrect projection for the large bitmap.
EDIT:
http://webpages.charter.net/ludowr/269_329.zip
This link is a zipped folder that contains a geographic projection bitmap from LWMViewer of cell 269,329
An orthographic projection is made from this bitmap using GlobalMapper. This bitmap is 10 meters per pixel exact.
It is 46990 meters wide by 43120 meters tall, and should be easily used in SceneGenX for a background bitmap... scaled as 10 pixels per 100 meters, and centered at S25* 51.470625' , W53* 40.3125'
... and it cannot reliably be used to place scenery objects, behaving as I described above.
Dick