Bounding Box to big in Loch but fine in Aven
I have a somewhat big cave (2400 Stations) and since a few weeks Loch shows a huge bounding box of obout 250x7500 km (!) see http://filez.foxel.org/2c4512e8a235 Export is done like this: select m_all export model -output output/windloch.lox export model -format survex -output output/windloch-konstruktion.3d export model -format compass -output output/windloch.plt export model -format dxf -output output/windloch.dxf export model -format kml -output output/windloch-konstruktion.kml survex Data is fine, PLT also (when viewed in Aven) lox and dxf have the huge bounding box kml seems to have only the surface survey and is missing the cave. So far I have not been able to poin down the change that caused it. Any suggestions on how to hunt this error down? Regards --max
Is there a 0,0,0 origin coordinate in one of your files ? Are you using the same PROJ for all files ? Kevin Dixon On Fri, Sep 20, 2019 at 4:36 PM Max D <md@foxel.org> wrote:
I have a somewhat big cave (2400 Stations) and since a few weeks Loch shows a huge bounding box of obout 250x7500 km (!) see http://filez.foxel.org/2c4512e8a235
Export is done like this:
select m_all export model -output output/windloch.lox export model -format survex -output output/windloch-konstruktion.3d export model -format compass -output output/windloch.plt export model -format dxf -output output/windloch.dxf export model -format kml -output output/windloch-konstruktion.kml
survex Data is fine, PLT also (when viewed in Aven)
lox and dxf have the huge bounding box
kml seems to have only the surface survey and is missing the cave.
So far I have not been able to poin down the change that caused it. Any suggestions on how to hunt this error down?
Regards
--max
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 20. Sep 2019, at 22:16, kevin dixon <geospatial3d@gmail.com> wrote:
Is there a 0,0,0 origin coordinate in one of your files ? Are you using the same PROJ for all files ?
I'm not sure where to check. Searching vor "cs" I see "cs UTM32" all around - so same PROJ everywhere. I also checked all my "fix" statements. In scraps I see 0,0 ana n origin like in this: scrap s_aussen -scale [0 0 1600 0 0.0 0.0 40.64 0.0 m] but to my understanding this should not matter. So I'm still searching. --max
On 23/09/2019 09:06, Max D wrote:
On 22. Sep 2019, at 23:28, Max D <md@foxel.org> wrote:
So I'm still searching.
Found it. Inside a th2 file there was a big scrap and a small one . The small one contained no stations. Adding Stations fixed the lox bounding box.
When you try to render this as PDF, Metapost says it cannot render something that large (in spite of you trying to fix it with a different scale). Can be useful for detecting that kind of error - shame it's not very verbose.
On 23. Sep 2019, at 15:13, Tarquin Wilton-Jones via Therion <therion@speleo.sk> wrote:
On 23/09/2019 09:06, Max D wrote:
On 22. Sep 2019, at 23:28, Max D <md@foxel.org> wrote:
So I'm still searching.
Found it. Inside a th2 file there was a big scrap and a small one . The small one contained no stations. Adding Stations fixed the lox bounding box.
When you try to render this as PDF, Metapost says it cannot render something that large
It did not show tat error in my case - probably because the scrap was nowhere referenced. —max
Found it. Inside a th2 file there was a big scrap and a small one . The small one contained no stations. Adding Stations fixed the lox bounding box.
When you try to render this as PDF, Metapost says it cannot render something that large
It did not show tat error in my case - probably because the scrap was nowhere referenced.
Indeed. Scraps are only rendered in PDFs if they are referenced by the select statement (or implicitly used where there is no select statement), and Metapost cannot see the error unless the scrap gets used. LOX generation doesn't care what you select (unfortunately), it renders all scraps anyway.
participants (4)
-
kevin dixon -
Max D -
MD -
Tarquin Wilton-Jones