Reading shape file and searching by file type

I want to write an application for working with ESRI .shp files which I think shouldn't be too hard. Looking for recources on this forum I didn't find any at all, which is unusual to me.
It made me wonder the following: Why can't I search for resources on ni.com by file type? I see a lot of applications that interact in some way with existing file types (beyond ordinary xls, doc and txt), but information (be it articles, links or forum questions) are spread out all over the web (if the information exists at all). I would love to see recources grouped by file type, so I can see in a list of extensions which types people program for(in labview). Maybe there's allready something like this that I am not aware of?

We don't have a way to search content by file type. And since most attachments are zipped up by NI or by customers, searching for a filetype probably wouldn't yield the results you were looking for.
If an article (or customer question) makes a reference to that filetype in the text itself, or includes a link to such a file, the file extension will be indexed.
I don't see any content relating to ".shp" files, so I would recommend simply posting your request to the appropriate product category in the Forums.
Best of luck with the application.
-Carrie Hooper
National Instruments
Web Support & Operations

Similar Messages

  • Appending objects in text file and searching.......

    I have been trieng to implement simple search operation on the class objects stored in the text file. but when i try to append new objects in the same file and search for the same; java.io.StreamCorruptedException is thrown. wat the problem is, that wen i append to the text file; it stores some header information before the actual object is stored and on the deserialization, this header information is causing the exception. the same header information is stored every time, i append to the file. anybody knws hw to get past it??? my code is as given below:
    package coding;
    import java.io.BufferedReader;
    import java.io.EOFException;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.PrintWriter;
    import java.io.Serializable;
         class Employee implements Serializable{
              private static final long serialVersionUID = 1L;
              String name;
              int id;
              public int getId() {
                   return id;
              public void setId(int id) {
                   this.id = id;
              public String getName() {
                   return name;
              public void setName(String name) {
                   this.name = name;
              public Employee(String name, int id) {
                   this.name = name;
                   this.id = id;
         public class FileSearch{
         public static void main(String[] args) throws IOException
              /*Entering the records into the file*/
              Employee ob = null;
              File file=new File("c:\\abc.txt");
              InputStreamReader isr=new InputStreamReader(System.in);
              BufferedReader stdin=new BufferedReader(isr);
              char fileExist='y';
              if(file.exists())
                   System.out.println("File already exists!!!");
                   System.out.println("Append New Records(press y) Or Search Existing File(press any other button)?:");
                   String strTemp=stdin.readLine();
                   fileExist=strTemp.charAt(0);
              else
                   System.out.println("File doesnt exist; creating new file......");
              if(fileExist=='y')
                   FileOutputStream fos=new FileOutputStream(file,true);
                   ObjectOutputStream oos=new ObjectOutputStream(fos);
                   char choice='y';
                   System.out.println("Enter records:");
                   while(choice=='y')
                        System.out.println("enter id:");
                        String id_s=stdin.readLine();
                        int id=Integer.parseInt(id_s);
                        System.out.println("enter name:");
                        String name=stdin.readLine();
                        ob=new Employee(name,id);
                        try
                             oos.writeObject(ob);
                             //count++;
                             oos.flush();
                        catch(Exception e)
                             e.printStackTrace();
                        System.out.println("Enter more records?(y/n)");
                        String str1=stdin.readLine();
                        choice=str1.charAt(0);
                   oos.close();
              /*Searching for the record*/
              System.out.println("Enter Record id to be searched:");
              String idSearchStr=stdin.readLine();
              int idSearch=Integer.parseInt(idSearchStr);
              try
                   FileInputStream fis=new FileInputStream(
                             file);
                   ObjectInputStream ois=new ObjectInputStream(fis);
                   int flag=1;
                   FileReader fr=new FileReader(file);
                   int c=fr.read();
                   for(int i=0;i<c;i++)
                        Object ff=ois.readObject();
                        Employee filesearch=(Employee)ff;
                        if(filesearch.id==idSearch)
                             flag=0;
                             break;
                   ois.close();
                   if(flag==1)
                        System.out.println("Search Unsuccessful");
                   else
                        System.out.println("Search Successful");
              catch(Exception e)
                   e.printStackTrace();
    }

    966676 wrote:
    All what I need to elect by who this word repeated. But I don't know really how to make It, maybe LinkedListYou should choose the simplest type fullfilling your needs. In this case I'd go for <tt>HashSet</tt> or <tt>ArrayList</tt>.
    or I dont know, someone could help me?You need to introduce a variable to store the actual name which must be resetted if an empty line is found and then gets assigned the verry next word in the file.
    bye
    TPD

  • Indexing and Searching PDF Files

    Hi All,
    I am trying to store and search PDF files in the oracle database.
    I can insert and index the PDF files just fine but cannot get any result. I always get No Rows.
    Here's what I am doing and the issues I am facing.
    I created a Table with fields
    ID (VARCHAR)
    NAME (VARCHAR)
    DOC (BLOB)
    I inserted the PDF file in the BLOB field through a Java program and insert worked fine as I verified by retreiving the PDF and writing to file.
    I created index using following SQL:
    create index my_index on PDF_TABLE(PDF_FLD) indextype is ctxsys.context
    parameters ('datastore ctxsys.default_datastore
    filter ctxsys.inso_filter');
    The index was created successfully without any problems.
    I ran query as follows and got no rows although the searched text is in PDF
    SELECT SCORE(1), PDF_FLD from PDF_TABLE WHERE CONTAINS (PDF_FLD, 'Table of Cotents',
    1) > 0;
    I tried alternate queries as well with no luck.
    Any ideas ??
    Thanks

    After creation the index you need execute next operations.
    first, check that your index tables conatins indexed terms. Execute
    select token_text from dr$YOUR_INDEX$i;
    Second, you will need to check the index errors table CTX_INDEX_ERRORS. This is owned by the user CTXSYS, and most users do NOT have # SELECT privilege to it by default.
    If it's OK, then check that your PDF documents is supported by INSO filter.
    Citation:
    "PDF - Portable Document Format
    Acrobat Versions 2.1, 3.0, 4.0, and 5.0 including Japanese PDF"
    (Appendix B. Supported Document Formats in Oracle Text Reference 9.2)
    For Oracle 9i you could install 9.2.0.4 patchset (it included INSO FILTER 7.5)
    P.S.
    for the beginning, you could find answers for your question about Oracle Text here
    http://otn.oracle.com/products/text
    Sorry for my English.
    Best regards, Victor Zogin.

  • VBScript to read the content of a .csv file and delete old files mentioned in the .csv

    I have a Windows 2003 file server.
    I have generated a report in .csv format, about the files which are older than 1 year.
    I need a VBScript to read the .csv file and delete the files which are enlisted there.
    Can someone please help me with this?

    Look into the "Learn" link above.  There are resources and instructions on how to write VBScript code.  Look into how to use the FileSystemObject.
    ¯\_(ツ)_/¯

  • How to read multiple files and generate multiple files

    Dear all, I would like to process some LTE measurement files. Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
    Attachments:
    RF Analyze IQ File.vi ‏46 KB

    There is no official "bin" format and I am confused by some of your statements:
    Kiwibunny wrote:
    Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
    What you could do is use "list folder" with *.bin as pattern, and use a FOR loop and iterate over all *.bin files found in a selected folder.
    In any case, your code uses some weird constructs and you seem to do way to much. Are you using "continuous run" mode? Don't!
    Use a proper state machine instead ot these stalling loops. Why do you need to query the queue after each enqueue? Why do you need a queue at all?
    LabVIEW Champion . Do more with less code and in less time .

  • PDF file and Microsoft Word files

    I love all the big improvements apple is making to their product lines. But I am a practical person who needs to open pdf. files and Microsoft Word files on the go. That is why I will still pick a Treo, Dash, and any other pda over the Iphone. When is apple going to make a real war against PDA's and produce these kinds of software? This would make the Iphone the ultimate phone.

    Actually you CAN store them on your phone -- you need to download the free program FileMarkMaker (Its in versiontracker for mac, don't know if it is available for PC users)
    It allows you to attach any PDF within a URL address and save it as a bookmark, and sync it to your iPhone. You can then read it anytime (you don't need an internet connection) by going to the name of the link you created for the file in Safari. Works perfectly -- I have everything from Maps of the subway stations for the cities I visit to manuals and documents on it.
    Just one caveat -- you can't search or use other features from within that Safari page - it will just crash the safari application -- you need to change to a blank safari page before you can use google or other safari features.

  • WebAnalyticsServiceApplication_ReportingDB log file and secondary DB files issue

    Hello everyone,
    So we have a problem, a customer has a SP2010 farm, SP on one server and SQL 2008r2 on another. Little (read none by the looks of things) maintenance has been applied to the server (both SQL and SP other than patching and windows backups) over nearly a year
    and we are here now to upgrade to SQL 2012, found the current state and the situation is as follows (up-to now):
    The SP install was done from the search server binaries to give better search options (thought this may be prudent to disclose)
    The WebAnalyticsServiceApplication_ReportingDB log file is HUGE and will not truncate, Ive done the following:
    backed up (full) the DB for web analytics  
    backed up log files for same DB (with truncate selected) (both through gui in SQL MS)
    Tried to shrink log file (this told me through the gui that 99% was free in the log file, but it freed up only 1%, even after trying again and selecting 'reorganise pages before releasing unused space' and selecting 0MB for the 'shrink to' size)
    Also, there are over 30 secondary DB files for this database, Ive seen other threads about these files but am stuck as how to do the following...
    no one uses the web analytics
    the data is not needed
    I understand it maybe needed in the future
    we do not need the data
    how should I get rid and stop future log file and secondary DB file growth? 
    Anyone's help would be greatly appreciated. 

    For reference, you can control how long SP keeps the Web analytics data (which does generate one extra .ndf per week).
    To set the limit on the data retention period:
    On the Central Administration Web site, in the Application Management section, click
    Manage service applications.
    Click the Web Analytics Service Application row to select it and in the
    Operations group of the ribbon click Properties.
    In the dialog box, in the Data Retention Period section, set the data retention period, which can range from 1 month to 25 months.
    See
    https://technet.microsoft.com/en-us/library/ee620541.aspx#section1 for more info

  • I converted aif files to mp3 files in I tunes so I could put them on a flash drive.  Now when I transfer an album to the flash drive I get both the aif files and the mp3 files in the flash drive.  How do I get the iTunes to only copy the smaller file?

    I converted aif files to mp3 files in iTunes so I could put them on a flash drive.  Now when I transfer an album to the flash drive I get both the aif files and the mp3 files on the flash drive.  How do I get the iTunes to only copy the smaller file?

    My suggestion to use the smart playlist was more along the lines of making one list with rules to show everything in your library as long as it was kind "mpeg" (= mp3).
    Smart playlists cannot be edited manually, only by changing the rules.  You can use them as the basis for another smart playlist though.
    There is added overhead to using smart playlists, so don't go overboard.

  • I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Zip files and Adobe Acrobat files

    Hello all,
    I have a couple of kinda distinct questions that I wanted to ask. I hope I've chosen the right sub-forum to post them in. My questions are
    1) when I try to unzip a .zip file in my Documents folder I get the following error message
    "Archive Utility - unable to unarchive "CdnEnergy.zip" into "Documents". (Error 1 - Operation not permitted.)"
    ditto if I move it to the Desktop and try there. This doesn't seem to be a 'space' problem as my computer is very new and I haven't loaded it up with lots of stuff. I have unzipped this file before (admittedly not on a Mac).
    2) How can I set Adobe Acrobat to be the default application for .pdf files so that when I click on a pdf file it's opened by Adobe Reader rather than the Mac Viewer? I know I can select Adobe with a Ctrl+click, but can I set it so that it's always the default?
    Thanks very much for your help,
    Eoghan

    Welcome to the Discussions!
    The first problem is not obvious, but I would suggest using Disk Utility to repair permissions. Also, you could download the free Stuffit Expander to have an alternate unzip program.
    The second problem is easy. In the Finder, select a pdf file and then select File->Get Info. In the window that appears, select the Acrobat as the Open With application and select the option to always use this application.
    bd

  • Problems converting PDF to MS Word document.  I successfuly converted 4 files and now subsequent files generate a "conversion failure" error when attempting to convert the file.  I have a large manuscript and I separated each chapter to assist with the co

    Problems converting PDF to MS Word document.  I successfully converted 4 files and now subsequent files generate a "conversion failure" error when attempting to convert the file.  I have a large manuscript and I separated each chapter to assist with the conversion; like I said, first 4 parts no problem, then conversion failure.  I attempted to convert the entire document and same result.  I specifically purchased the export to Word feature.  Please assist.  I initially had to export the Word Perfect document into PDF and attempting to go from PDF to MS Word.

    Hi sdr2014,
    I'm sorry to hear your conversion process has stalled. It sounds as though the problem isn't specific to one file, as you've been unable to convert anything since the first four chapters converted successfully.
    So, let's try this:
    If you're converting via the ExportPDF website, please log out, clear the browser cache, and then log back in. If you're using Reader, please choose Help > Check for Updates to make sure that you have the most current version installed.
    Please let us know how it goes.
    Best,
    Sara

  • Burn music files and a pdf file?

    Is it possible to burn some music files and a pdf file on the same CD using iTunes? If not, maybe using some other software?
    Numbers

    J Cabaniss wrote:
    Is it possible to burn some music files and a pdf file on the same CD using iTunes? If not, maybe using some other software?
    iTunes can only burn files that are in its library, so forget about PDFs.
    Yes it can be done with other programs, using a data (not audio) CD format.

  • .xml file and iTunes library files are missing from the music folder

    I recently made a second itunes library on my external hd, today when I open itunes and choose this library, the .xml file and itunes music file are invisible or translucent, therefore I can't open my library. But when I go to my music folder they are missing. Another odd thing is that all my music is still in the folder. Is there a way to re-open my library w/o re-importing all my music? Can I some how get a new itunes library file?
      Mac OS X (10.4.10)  

    This is not an answer but I have the same problem. From time to time I clone my music drive to an external drive for back up. When I do, I burn a copy of the album artwork folder, iTunes Music folder, iTunes Library.itl, iTunes Music Libraru.xml, and iTunes Library file to CDRW. This is so I can copy them into the music folder in my user home drive of my laptop then hook up the external and have access my library. Trouble is the .xml file and iTunes library files don't always show up when I go to the iTunes folder in my Music folder. There either is a blank where they should be or the names appear with no icon and when I click to select, that dissappers too. I thought I had a solve by exiting iTunes and letting it save everything. It seems to bring the .xml file back but not the itunes Library file. Any thoughts?

  • I take a .NEF file and a .JPG file with every click. When I transfer the files using a flash drive to another computer I never get all of the files to transfer. I get some of the .NEF and some of the .JPGs but not all

    I take a .NEF file and a .JPG file with every click. When I transfer the files using a flash drive to another computer I never get all of the files to transfer. I get some of the .NEF and some of the .JPGs but not all. How come?

    If you're exporting a project then you'll only get the images in that project. Also if any of the masters are referenced then you won't get those masters unless you check Consolidate masters into exported library
    It might be best if you started from the beginning and explained what it is your are trying to do and how you're going about doing it. Also a description of you're hardware/software setup would be helpful.

  • I have backed up my iPad  using iTunes to windows 8 Lenora laptop but I could not find my files and play video files  in my laptop.

    I have backed up my iPad  using iTunes to windows 8 Lenora laptop but I could not find my files and play video files  in my laptop

    You cannot access files in the backup on your computer.
    Do you mean that you synced with iTunes and transferred your purchased videos and app documents? If that is what you mean, what videos are you talking about? If they are videos that you took with the iPad, they do not sync to iTunes. What files?
    What exactly are you trying to do? Details please.

Maybe you are looking for