Hey Chris, was that script of any use?  Just curious! :)

It's quite slow, as I'm sure you've noticed as you said it was a large file!

Never could find a way to speed it up.  I just put it down to Python being
slow in the end... :/

DAN



On Mon, Jan 7, 2013 at 6:54 PM, Chris Marshall <[email protected]>wrote:

> ok thanks guys. I'll see how this goes. I can always break the file down
> into smaller pieces maybe. Or if Dan's script works well, take a percentage
> of the point instead.
> I'll report back!
>
>
>
> On 7 January 2013 16:51, Vladimir Jankijevic 
> <[email protected]>wrote:
>
>> oh, all right. If it's huge then this won't work that well I think :(
>>
>>
>> On Mon, Jan 7, 2013 at 5:40 PM, Chris Marshall <[email protected]
>> > wrote:
>>
>>> That's what I was thinking. Once I get the file into soft, I'll know
>>> what I'm dealing with. It's a pretty huge file of points.
>>>
>>>
>>> On 7 January 2013 16:34, Alan Fregtman <[email protected]> wrote:
>>>
>>>> With that, then you can use ICE on a grid of sufficient points and set
>>>> up a tree like...
>>>>
>>>> "Get Point ID" and pointcloud getdata --> ID To Location -->
>>>> .PointPosition --> Set Point Position
>>>>
>>>> (Who knows how the terrain is ordered though. It might look horrid.)
>>>>
>>>>
>>>>
>>>> On Mon, Jan 7, 2013 at 11:22 AM, Dan Yargici <[email protected]>wrote:
>>>>
>>>>> Hey Chris, I quickly (read - some things may not work!) refactored my
>>>>> old .PLY importer for you. should work...
>>>>>
>>>>> Just rename as .py and run in the script editor.
>>>>>
>>>>> Like Alan suggested though, it's just point data so it just makes a
>>>>> pointcloud.
>>>>>
>>>>> Hope it helps.
>>>>>
>>>>> DAN
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Jan 7, 2013 at 5:09 PM, Chris Marshall <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>> Sorry for the slow reply on this. We have an xyz file, which is just
>>>>>> a grid of points, like this:-
>>>>>>
>>>>>> -105.2500000000,39.7500000000,1757.129
>>>>>> -105.2500000000,39.7499583333,1758.791
>>>>>> -105.2500000000,39.7499166667,1760.882
>>>>>> -105.2500000000,39.7498750000,1763.025
>>>>>> -105.2500000000,39.7498333333,1765.183
>>>>>> -105.2500000000,39.7497916667,1767.467
>>>>>> -105.2500000000,39.7497500000,1768.741
>>>>>> -105.2500000000,39.7497083333,1771.766
>>>>>> -105.2500000000,39.7496666667,1773.832
>>>>>> -105.2500000000,39.7496250000,1775.873
>>>>>> -105.2500000000,39.7495833333,1777.84
>>>>>> -105.2500000000,39.7495416667,1779.369
>>>>>> -105.2500000000,39.7495000000,1781.255
>>>>>> -105.2500000000,39.7494583333,1783.423
>>>>>> -105.2500000000,39.7494166667,1785.815
>>>>>> -105.2500000000,39.7493750000,1788.552
>>>>>> -105.2500000000,39.7493333333,1791.749
>>>>>> -105.2500000000,39.7492916667,1795.332
>>>>>> -105.2500000000,39.7492500000,1800.269
>>>>>> -105.2500000000,39.7492083333,1804.516
>>>>>> -105.2500000000,39.7491666667,1808.3
>>>>>>
>>>>>> So it must be relatively easy to convert this into a grid? Anyone got
>>>>>> any ideas or can supply a simple script we can modify that'll read this
>>>>>> data and generate a new grid or adjust the height of an existing grid?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Chris
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 14 December 2012 19:12, Matt Lind <[email protected]>wrote:
>>>>>>
>>>>>>> If it’s ASCII, an importer can probably be written fairly easily.***
>>>>>>> *
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> Do you have a sample file?****
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> Matt****
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> *From:* [email protected] [mailto:
>>>>>>> [email protected]] *On Behalf Of *Chris
>>>>>>> Marshall
>>>>>>> *Sent:* Friday, December 14, 2012 5:19 AM
>>>>>>> *To:* [email protected]
>>>>>>> *Subject:* terrain ascii xyz import****
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> Hello,****
>>>>>>>
>>>>>>> Anyone know how to get these into soft?****
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> Cheers****
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>> Chris****
>>>>>>>
>>>>>>> ** **
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Chris Marshall
>>>>>> Mint Motion Limited
>>>>>> 029 20 37 27 57
>>>>>> 07730 533 115
>>>>>> www.mintmotion.co.uk
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Chris Marshall
>>> Mint Motion Limited
>>> 029 20 37 27 57
>>> 07730 533 115
>>> www.mintmotion.co.uk
>>>
>>>
>>
>>
>> --
>> ---------------------------------------
>> Vladimir Jankijevic
>> Technical Direction
>>
>> Elefant Studios AG
>> Lessingstrasse 15
>> CH-8002 Zürich
>>
>> +41 44 500 48 20
>>
>> www.elefantstudios.ch
>> ---------------------------------------
>>
>
>
>
> --
>
> Chris Marshall
> Mint Motion Limited
> 029 20 37 27 57
> 07730 533 115
> www.mintmotion.co.uk
>
>

Reply via email to