[Therion] Scrap is too large to process in metapost in thisscale

Mihai Terente terenteml at gmail.com
Fri Nov 25 05:31:58 CET 2011


Dear Bruce,

I'm using the .xvi compiled with the option -layout-sketches on. This
way, the .xvi file is not a simple vector drawing, with only the
centerline, but a more complex one, with also the scanned images
(which is a raster data) morphed to match the centerline (the vector
data). Indeed I cannot scale or rotate any of the two components of
the .xvi file (the vector, with the centerline, and the raster, with
the scanned images) inside Xtherion. But I keep separate scrap file,
one for morphing the scanned image, and one for drawing over the
morphed image. This way I can modify anytime the first scrap, e.g. by
adding more station points to get a better morphed image, I recompile
and I get an .xvi which will be updated in every scrap that I'm using
to draw the cave.

I sent an archive with my data to the list on a previous message. You
can look at and compile first the thconfig_xvi, than thconfig_pdf.

Mihai
www.iser.ro


On Wed, Nov 23, 2011 at 9:14 PM, Bruce <bruce at tomo.co.nz> wrote:
> Hello Mihai
> I am intrigued that you are using both scanned images and xvi files in the
> same drawing file (as mentioned in your 23Nov message below).  My friend and
> I were just discussing this and my assumption was that it would be an
> uncomfortable match if both types of image were used in the same scrap
> because we cannot scale or rotate background images within the XTherion
> interface (with respect to each other).
>
> From your description below you seem to be using quite a different drawing
> strategy (in some respects) to what we use.
> If you are willing to share your dataset with the forum (if not too big) or
> by personal message, I would appreciate the learning.
> Thanks
> Bruce
>
> -----Original Message-----
> From: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] On Behalf
> Of Mihai Terente
> Sent: Thursday, 24 November 2011 3:26 a.m.
> To: List for Therion users
> Subject: Re: [Therion] Scrap is too large to process in metapost in
> thisscale
>
> It seems it will work if I add station points with the .xvi layer
> activated as background image. Initally I disabled the layer because
> of the grid, which I found quite annoying, and I kept only the morphed
> images. It seems that in this way the program didn't recorded well the
> coordinates of the points. Otherwise, with the .xvi grid and
> centerline visible, if I add a station point it recognizes its name
> automatically, and the coordinates are a little bit different, with
> lot of decimals.
>
> For the moment it compiles fine, in both .pdf and .shp format.
>
> Cheers,
> Mihai T.
>
> On Wed, Nov 23, 2011 at 11:06 AM, Mihai Terente <terenteml at gmail.com> wrote:
>> Yes, the same problem occurs when I add several station points. But
>> this happens only when I reeference the points to stations from the
>> survey (witn -name ...). I think it's something related to my approach
>> for morphing scanned images. I did like this:
>> - first I started an empty .th2 file (named schita-c1_w.th2, _w stands
>> for "warped")
>> - I added a background image (a piece of the scanned sketch,
>> CC01.jpeg), with Edit>Insert Image
>> - I created a scrap and I selected the scketch as a background image,
>> with the Insert button from the Scraps section in the control panel
>> - I added several station points, referenced to the station from a
>> survey, with -name ... at survey. From these stations it's only one that
>> is georeferenced (with fix command, in the survey preamble)
>> - then I compiled the map with -format .xvi
>> - Now, I noticed that if I add the .xvi file to my first .th2 file, I
>> get the image morphed, with the centerline on top of it, but displaced
>> with respect to my initial station points added to the scrap.
>> - That's why I a created a new .th2 file (schita_c1.th2), I added the
>> .xvi file as a background image and I drew the wall. If I compile the
>> map now (output esri .shp) everything goes fine, except that the .shp
>> is not georeferenced. If I add to the scrap the station point that is
>> georeferenced (fix) in the survey I get the error.
>>
>> I put everything into the archive attached, if you have time to take a
>> look, I would appreciate.
>>
>> Mihai T.
>>
>>
>> I put all my files in the .zip attached
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>



More information about the Therion mailing list