06-30-2009 02:40 AM
Hello,
Does anyone know how to open or at least view the contents of a shapefile .shp in labview.
I have found converters that open the file then process it to a text file but i would like to be able
to do this in labview.
Any ideas.
Thanks in advance.
Daniel
06-30-2009 06:08 AM - edited 06-30-2009 06:10 AM
theno1dj wrote:
I have found converters that open the file then process it to a text file but i would like to be able to do this in labview.
If you can do upto this level, then can you just keep the part of reading this text file & processing its Str data alone in LV?
I m just trying to get clarified, if it would be easy for you, instead of doing the whole thing in LV.
Also, did you manage to find any cnverters that can process these text files & again form the .shp file for you?
One more option, is to export the .shp file to .xml & then do the total processing in LV, since LV can support XML also very well.
06-30-2009 10:04 AM
You can do it in LabVIEW without using a converter ... IF you know the format of the file. The same can be said for any file.
If you have the converters then the easiest thing to do is to simply use System Exec to call them, assuming they have a command-line interface. One other suggestion is to see if there are any converters that have an ActiveX interface, as you can also do this from LabVIEW.
07-01-2009 01:53 AM
Thanks for the advice, the only reason i want to do it in labview is so the end user does not have to run several programs and mess about before it gets to my program.
I now have the ESRI shapefile technical description, so i am working my way through that to convert the file.
Cheers
07-01-2009 01:35 PM
07-01-2009 11:57 PM
Pl see the attachment. I got this from Google search.
I think this is what he mentioned...
01-26-2011 01:15 PM
Did you ever figure out how to open a shapefile in labview? I have access to ArcGIS engine but would prefer to just open shapefiles in Labview.