Reading ASCII points

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Reading ASCII points

Broomy
One of the new features of the daily update is importing points with an ASCII-file. (File-->Import-->ASCII points)
So far I haven't been able to do so.
Did anyone succeed?
Reply | Threaded
Open this post in threaded view
|

Re: Reading ASCII points

Rallaz
Works for my:
From this thread (10 months old):
http://forum.librecad.org/LibreCAD-for-mapping-td4549798.html

File->Import->Read ascii points

Simply change "format" to "Comma separator" for CSV files

The format of the data expected by the plugin are (code not mandatory):

number,x-coordinate,y-coordinate,z-coordinate,code

like:
1,257.65,354.25,0.0,wall
2,293.58,355.98,0.0
3,315.12,357.37,door

The "format" is the most important, if you select "Comma separator" and the file
is "space separator" the plugin do not work.
Reply | Threaded
Open this post in threaded view
|

Re: Reading ASCII points

broomy
Thanks Rallaz,
It works fine now!

Reply | Threaded
Open this post in threaded view
|

Re: Reading ASCII points

Siprex3D
Hello all
I understood your explanation about CSV format,
But on my LibreCAD (version 1.02 for Windows) "Import" in file menu is not avaible (grey).
I would like to try  asciifile1.dll but i didn't find "plugIn folder"
Thanks for your support
Reply | Threaded
Open this post in threaded view
|

Re: Reading ASCII points

R. van Twisk
Administrator
Hey,

we have a alpha version of LibreCAD 2.0.0 that is importing,
but beware it's a alpha version and there are known bugs that currently can crash LibreCAD and you may loose your drawings.

Ries

On May 26, 2012, at 8:42 AM, Siprex3D [via LibreCAD] wrote:

Hello all
I understood your explanation about CSV format,
But on my LibreCAD (version 1.02 for Windows) "Import" in file menu is not avaible (grey).
I would like to try  asciifile1.dll but i didn't find "plugIn folder"
Thanks for your support


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Reading-ASCII-points-tp5706664p5706690.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Reading ASCII points

Siprex3D
Thank you for the fast answer.
I discover that shp format is included. That great! I Am very interested in GIS...
One of my friends is teacher in a geographic academy.
I would like involved some GIS students in plugin project for LibreCAD.
Could you tell me where i can found some documentation about that?
Reply | Threaded
Open this post in threaded view
|

Re: Reading ASCII points

Rallaz
Hello Siprex3D,

the shp import plugin is incomplete, at least multipoint shapes are not haldled.

If you want to collaborate might complete the plugin.

Another GIs related feature are add support for DGN files. You can start using
the skeleton of importshp plugin and libdgn from ogr:
http://www.gdal.org/ogr/drv_dgn.html.

To learn about LC plugin creation you can read (outdated):
https://github.com/Rallaz/LibreCAD/wiki/Write-plugins-HOWTO
and read the fully documented file:
librecad/src/plugins/document_interface.h