Ideas about storage of spatial data in Labview?

hello,
by working on a project i have met such a problem:
how can i read the data from the spatial database named PostGIS and in which format can i store the data in Labview?

So you have a remote database (probably somewhere on the file system)...
This database is a PostgreSQL database.
Now you want this data to be available on your local machine. The most
effective way is to simply copy the database. If you do that, you can use
all code for the local and the remote database. Simply connect to one of
them, and the queries will succeed. MySQL has functions to create copies of
the database, and my guess is PostgreSQL has similar functions. So a command
line call to the database is probably all that is needed to make the copy.
If you (for some reason I can't imagine) want to read all information from
the database and store it in a text file, I can't give you all the details.
I'm not a PostGIS expert. I have no idea what sort of things are stored in
the database or how it is organized. Going by the manual, it sure looks
complicated.
In general, you need to do a query for each table (SELECT * FROM table).
1) do a query
2) store the query's result (it is a 2D array, so convert it to a
spreadsheet string)
3) repeat these steps, until you queried all tables.
If you do this, you have all the information in the database.
Regards,
Wiebe.

Similar Messages

  • About Apex4.0 release date

    Hi gurus,
    I'm aware that maybe there's no an official APEX 4 release date but I'm interested on when is expected to be released. So... could you give us some directions about when can we install APEX 4 on our servers?
    Thanks in advance. U have done great work with this tool,
    Dani

    I have no idea about the exact release date but I think it will be released before the next ODTUG:
    http://www.odtugkaleidoscope.com/
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Wanted brief idea about posting date, document date, entry date

    Hi guyz!
    basically am an tech consultant. But wanted to have brief idea about the following business process. scenario is like this:
    in inventory management, we are doing some inter facility transfer. i.e., for a particular plant, we are having multiple storage locations. so due tosome reasons, we are transfering stock from one storage location to another storage location. so in this context can anybody say what are the followings:
    1. posting date
    2. document date
    3. entry date
    waiting for proper response.
    manas

    Hi Manas,
    The Document Date is the date in which the business transaction for the Documente(e.g., a transfer of posting) took place. The document date is the date on which the original document was issued.
    The document date can, for example, refer to the creation date of the delivery note issued by the vendor or the internal goods receipt slip.
    The Posting Date determines the posting period and defines in which fiscal period a document will post (regardless of the Document or Entry date). It is the date which is used when entering the document in Financial Accounting or Controlling. The periods that are permitted for posting are determined by Accounting Services. This is the date that G/L Account Balances are updated.
    The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from the posting date. The Posting Date will override the Fiscal Period entered on a document if they are different.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.
    The posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).
    The Entry Date is the date the transaction was actually "permanently entered" into R/3.
    Note: It is possible that an invoice was issued with a Document Date of 6/15/98, entered into R/3 on 7/15/98 (Entry Date) with a Posting Date of 6/30/98 (to post the Document in the previous fiscal year). Many times, all three of these dates are the same.
    Thanks,
    Susmitha.
    Mark helpful answers.

  • General question about storage, networking, and using large amounts of data

    I have been using a powermac tower G5 up until now. I bought my daughter a macbook pro 15" i7, talk about a zippy little machine. What a screamer. I can't believe how fast it is with final cut express, Aperture, and Photoshop. I tend to use higher end stuff, video, photos, etc. Hence I need not only a good fast processor, but the storage....need lots of hard disk space.
    oh, did I mention I bought this for my daughter who's about to go off to college? Heh, when I'm home, she loses the machine to me.... *evil grin*
    Anyways, I haven't considered using a laptop before for me personally as I just don't care for the small screen size, no mouse, and things like that.
    Seems I've changed my opinion, esp seeing as the new mouse track pad is a game changer. I still am not crazy about the small screen size, but I can get over it.
    The one thing I can't get around is the small disk storage. I have 4 TB on my big machine. Between my video, photography, and music, I am nearing a full TB of just raw stuff. If I count all the things I've stored, especially finished videos I make of photography projects, well you can image the chomping that occurs on disk storage.
    So what is a man to do about storage?
    I'm really getting hooked on this zippy little machine. The idea of dragging it around is compelling. Having my work not tied to a desk is fun.
    but the lack of storage is sucky, terribly so.
    I have one possible option, taking the G5 and making it a server. I can use it for backup and high speed transfer, working on the transfer part today.
    I thought I'd poll the collective wisdom of the community and see what do you peeps think is the best overall way to handle such a situation?
    What is the absolute fastest best way to use external drives? Firewire 800 is ok, but when working with 400gb aperture database files....
    I'm hoping there is some way to start posturing myself to really use a laptop for my full computing experience.
    Or am I trying to make a small portable machine act like a tower? Is this not a reasonable hope at this point in time?
    I'm open to suggestions. I'm going to purchase something when my daughter takes this laptop with her to college. Either a new mac pro tower or laptop. I love the portability but need speed and massive storage.
    Thanks for opining.

    Storage:
    1. Replace the drive with a larger one. Up to 1 TB is now available for notebook drives.
    2. Get a portable external drive for additional storage needs. See the options at OWC as an example.
    Drive speed:
    1. FW 800 should be fast enough for your work. If the computer has an ExpressCard slot then consider a card supporting full speed eSATA. You may then achieve speeds closer to the internal bus.
    A laptop is not a tower so stop thinking of or comparing to your tower. Besides the laptop's speed compared to your G5 is more like comparing a Ford Focus to a Ferrari F150.
    As for "polling" opinions here: polling is forbidden by the forums' Terms of Use.

  • Need Help about Spatial Data Load - Mapviewer

    Hello everybody,
    I need an immediate help about spatial data load. I installed Oracle mapviwer quick start and try to work on it. However, I could not pass the load step. My questions are;
    1- Where can I find and download my country's data set (spatial data)
    2- With mapviwer, how can I load spatial data to my tables on database (Oracle). Those tables have sdo_geometry columns and I want to query location data, but could not load
    Regards,
    Dilek

    For Mapviewer questions, please post in the following forum:
    MapViewer
    Thanks

  • My Documents and Data on my phone are taking up half of my storage! I have no idea what my documents and data are?! Please help!

    My Documents and Data on my phone are taking up half of my storage! I have no idea what my documents and data are?! Please help! I need to reduce it

    DDAAYY wrote:
    i need to free storage on my phone,
    because you want to put more Documents & Data on it.
    Make sure you sync photos to computer then delete from Camera Roll. (Camera Roll photos are part of Documents & Data).
    Delete some apps on the iPhone.
    Then Restore iPhone in iTunes.

  • Update multiple rows involving spatial data

    Hi,
    i have 2 table, that are
    temp
    store_id
    store_state
    geom mdsys.sdo_geometry
    us_states
    state
    geom mdsys.sdo_geometry
    i have indexed both table with spatial index.
    If i wanna find state that temp.geom is inside us_states.geom using
    SQL> select state from us_states, temp
    where sdo_inside(temp.geom, us_states.geom) = 'TRUE';
    it's work
    but if i wanna update temp.store_state using
    SQL> update temp set store_state = (select state from us_states
    where sdo_inside(temp.geom, us_states.geom) = 'TRUE');
    it gives this error
    update temp set store_state = (select state from us_states where sdo_inside(temp.geom, us_states.geom) = 'TRUE')
    ERROR at line 1:
    ORA-13226: interface not supported without a spatial index
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 8
    ORA-06512: at "MDSYS.SDO_3GL", line 62
    ORA-06512: at "MDSYS.SDO_3GL", line 192
    any idea how can i update multiple rows that involving spatial data?
    Thanks
    Hadi

    Hadi,
    There are a number of things wrong with the second item. First up you most likely will return more than one row, which is not allowed as the = expects only one item.
    Here is what I would use, which will update everything that meets the requirements, and ignore the rest:
    UPDATE (
    SELECT /*+ bypass_ujvc */
    state, store_id, store_state
    FROM temp, us_states
    WHERE sdo_inside(temp.geom, us_states.geom) = 'TRUE')
    SET store_state = state;
    With the /*+ bypass_ujvc */ you're telling the db to not worry about requiring a "unique join view condition" -- which roughly mean "trust me, my rows are key preserved." This is important since there is really no "hard" key-based relationship to tie the two together.
    However, unless you really think there are stores that border on two states, this will run much quicker with an anyinteract comparison.
    Bryan

  • How can I read the trace data into LabVIEW for E5071B

    HI 
    I am setting up the measurement using vector network analyzer (VNA) E5071B controlled by NI 488.2. How can I read the trace data into LabVIEW and display on the graph? If anyone having an idea or know well about this process please give me the suggestion, I will much appreciate it.
    Many Thanks

    You want to start with the driver
     In case you do not know it, you can do the driver search in LabVIEW from Tools>Instrumentation>Find Instrument Drivers. You might also want to bookmark the Instrument Driver Network for information on what a driver is and how to use it.

  • With my iPhone 5s, can I record long voice memo to the cloud and not worry about storage on phone?

    With my iPhone 5s, can I record a long voice memo to the cloud and not worry about storage space on phone?

    You can't add music to the cloud, whether it will show there for streaming and redownloading depends upon what country that you are in. If you are in a country where music is available in the cloud then you don't have to download the music from the store, if you turn Settings > iTunes & App Store > Music (under the 'show all' heading) 'on' then you should be able to stream purchased music in the Music app without downloading it - your phone will need to be online in order to stream, and if using 3G/4G then it will use some of your data allowance.
    If you download an album or a track then it will be downloaded onto your phone. You can't upload music to the cloud from an iOS device. Whether music that you've bought shows for streaming depends upon what country that you are in and if the album or track remains in the store (unless you've subscribed to iTunes Match), and if you are connected to a network.

  • Any idea about the pricing of the hardwares for Oracle 10g RAC?

    Hi,
    If I go for 2 nodes RAC using Dell servers and Disk array, any ideas about the prices? (just for the hardwares.)
    Thanks.
    Regards,
    Jason

    It's all about the shared disk(s).
    If you are only ever going to use two (2) nodes a SCSI JBOD solution is cheap. (practical too with ASM as the cluster filesystem / volume manager)
    More than 2 nodes, you step up to certified NFS, iSCSI or FC/AL connected storage. More expensive, faster, more flexible.
    The computers are the cheapest portion of the cost especially with multiple core multiple cpu 64bit linux based servers being so inexpensive.

  • Datalogging and Supervisory Control : how to share data among LabVIEW applications on the same network?

    I'm new to DSC. Is there an example program or article about how to share data (live data and data saved after running a program) among LabVIEW (using DSC) that is very basic? I would like to share live data and test reult data (eg. excel) among computers on the same network (may be LAN). Does sharing data over a network by using DSC makes whole system (all computers) down when one computer is locked up?

    Hi,
    The easiest way to network DSC data is using "network tags". The way you do it is by simply configuring the server PC as you normally would do for a local application.
    Then from a remote compute, which we can call a client computer you can go to Tag Configuration Editor and option "File >> Import Network Tags.."
    In the window that opens up you can hit the browse buttom and navigate to your server computer, select the .scf file you want to have and hit the buttom import.
    Save the "client .scf" file locally and now you have in the client the same configuration you have in the server and your data is networked, from there on is just a matter of manipulating the data.
    I hope it helps
    Andre Oliveira

  • Acquiring Oracle Spatial Data through WFS

    Hi,
    I have been researching for awhile and am slightly confused.
    I have Oracle Spatial 11g with geometry data and would like to be able to retrieve that data through a WFS to serve to a viewing application.
    Here's where I am confused:
    1) Spatial has a WFS service which needs to be configured. If I were configure that, would I be able to access the data through URL getFeature commands? The documentation I see for them has the getFeature requests in the form of XML files so I am not sure if I can do that. Also it seems like the service is returning .log files but I think I would want GML...
    If this is the option I should take, the tutorial to setup OC4J and the Web Services are for a Linux machine (http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm) -- Is there one for Windows 64bit?
    2) Do I need another "application layer" to enable this URL support? I know MapServer can use URL requests.. can I just run this against the data in my DB and forget about the Oracle WFS?
    3) MapViewer seems to work with WFS Themes and handle requests through Java and SQL.. is this another option?
    I am basically confused as to where everything sits and what I should be focusing on to get my Spatial data out of the DB through a WFS. Any assistance on this matter would be greatly appreciated!
    Thanks!

    Any help debugging this issue would be greatly appreciated:
    As per the documentation:
    http://localhost:8888/SpatialWS-SpatialWS-context-root/wfsservlet?request=GetCapabilities&service=wfs&version=1.0.0
    :this get request should return the capabilities info however I receive this error message instead in the browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ogc:ServiceExceptionReport version="1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8888/examples/servlets/xsds/OGC-exception.xsd" xmlns:ogc="http://www.opengis.net/ogc">
    <ogc:ServiceException code="WFS-1042">Exception during processing request</ogc:ServiceException>
    </ogc:ServiceExceptionReport>
    The sytem out from the oc4j container provides this error message:
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    INFO] No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    ERROR] Oracle Spatial WS Server could not set up configuration parameters: jav
    a.lang.RuntimeException: No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.servlet.WFSServlet, Tue Apr 27 15:47:38 MDT
    2010, FATAL] java.lang.RuntimeException: java.lang.RuntimeException: No subject
    specified in request.
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:705)
    at oracle.spatial.ws.servlet.WFSServlet.doGet(WFSServlet.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.RuntimeException: No subject specified in request.
    at oracle.spatial.ws.WSProperties.getUser(WSProperties.java:574)
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:695)
    ... 16 more

  • Cannot edit Oracle Spatial data

    Hello,
    I am running into some problems with my Oracle Spatial data. Maybe somebody has some insight. Here's what is going on:
    1) I am able to connect to and view the data in uDig but I cannot edit the data and also the data shows up in the table of contents with a line symbol even though it is polygon data (it renders correctly in the map as polygons). I try using the 'Create Polygon Geometries' tool and it errors saying 'Create Polygon Tool' cannot operate on current layer.
    2) When I try testing edits through WFS-T it errors and tells me that the table is read only.
    The table is in the USERS tablespace and I have verified that it is read/write. I also set object permissions on the user: ALTER, DELETE, INSERT, SELECT, UPDATE
    Am I missing something obvious? Anyone else have this problem? Thanks a lot for any ideas anyone has.

    My apologies for the confusion. My insert statement DID work just fine. I just wasn't seeing it...probably because I was querying the table in Enterprise Manager DB Control and it looks like it takes some time to refresh. So it appears that user permissions are not the issue.
    I have used two data loading methods:
    Before loading data, I needed to create a user defined coordinate reference system:
    1 create projection operation for my custom projection
    2 configure projection parameters
    3 create the projected CRS in mdsys.sdo_coord_ref_system
    First data load steps
    1 shp2sdo.exe my_shapefile my_table -g geom -s 1000002 -v
    2 execute my_table.sql
    3 execute sqlldr.exe
    4 EXECUTE SDO_MIGRATE.TO_CURRENT('my_table','GEOM');
    5 CREATE INDEX my_table_index ON my_table(geom) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    Second data load steps:
    1 open up MapBuilder, make a connection, and go through the Import Shapefile wizard. MapBuilder automatically creates a spatial index.
    Does it appear that I am missing any steps or doing anything obviously wrong that would be causing me to not be able to edit the data through clients such as uDig or WFS-T?

  • Siemens PLC S7-300 data to LabVIEW RT via Profibus ?

    How can I acquire Siemens PLC S7-300 data to LabVIEW RT via Profibus ? (My RT is hooked up to SCXI chassis.) There is the PCI-1500 Profibus board - but I'd have to use it on another PC running regular LabVIEW, then get data somehow to the SCXI chassis... that's too complicated! Any ideas ? Thanks! benji.

    We are currently working on a driver for the Profibus cards and LabVIEW RT. I imagine that NI is too. Our intention is to help fill in the Industrial network gaps for LVRT. If you'd like, I'll send you an update in 2-4 weeks. Maybe you can help us beta test it.

  • Any expericences about Hive/Hbase as data source for Power BI?

    Any real life experiences about fetching and automatically refreshing data from HDInsight for Power BI?
    Kenny_I

    Hi Kenny,
    I've used HDInsight with Power BI on a handful of prototypes/PoCs where HIVE has been used to condense very high grain data or unstructured data into something a lot more manageable. As you may already know, the HIVE tables are just projected metadata
    on top of folders which contain the data across one or more files, or subfolders of files (i.e. partitions). Initially I had hoped for Power Query's 'From Microsoft Azure HDInsight' data source to be able to pull data from HDInsight by generating HIVE queries
    (HQL), but instead it hits the underlying HDFS (which is implemented as Azure blob storage) and pulls data directly from the files. As a result, it gives pretty much the same experience/functionality as using the 'From Microsoft Azure Blob Storage' data source.
    One thing I found out the hard way is that if data is stored in HIVE tables that use an optimised file format such as ORC, Power Query is unable to pull the actual data out of these files (it doesn't know how to read their contents). You'll need to write some
    HQL that will output the data in a plain text format such as CSV or TSV to be able to pull it in via Power Query. In some scenarios I have gotten around this by using Sqoop or SSIS to load the data into a Microsoft Azure SQL Database and then pulling that
    data into Power Query/Power Pivot, but realise that this may not always be feasible.
    There is the Microsoft Hive ODBC Driver to pull data from HDInsight/Hadoop via HIVE tables on a local machine, but I've not yet found a streamlined way to get workbooks in Power BI to pull data from HDInsight/Hadoop via HIVE.
    I'd be interested to learn about other experiences with HDInsight and Power BI too.
    Edit: Forgot to mention that the Data Management Gateway was needed in all cases due to the use of Power Query.
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com, Twitter:
    @nimblelearn

Maybe you are looking for

  • A730 Screen Resolution

    So I just received my A730 machine and notice that the maximum screen resolution is 1920 x 1080. This contradicts with whats listed on the the spec page here: http://shop.lenovo.com/dk/da/desktops/ideacentre/a-series/a730/#features With the NVIDIA Ge

  • How do I stop iphoto from creating events automatically when I import photos from an external hard drive?

    IPhoto is creating events automatically when I import photos and when I merge events and then go to finder>all images, I see iphoto has created several copies of each picture....I try to delete the extra copies but then the albums or events also get

  • AICS3, How to curve a block of text

    I'm still using AICS3, but I hope someone can help me anyway. I'm creating a file that will eventually go to a sign shop to have vinyl letters cut. These letters are being adhered to the surface of a cone (I work in a museum: I'm always doing stuff l

  • PBE Blowfish

    I use a code to crypt a string , but I'dont undertand if is 128 bit encryption or not, and if is not how i can change my code thanks import org.bouncycastle.crypto.*; import org.bouncycastle.crypto.engines.*; import org.bouncycastle.crypto.modes.*; i

  • Upgraded from 10.6 to 10.6.2, network stopped working on an iMac.

    Went to the Apple store yesterday, bought Snow Leopard. Installed it, everything seemed to work fine at 10.6.0. Did Software Update, it said there was a 10.6.2 update (guess it combined 10.6.1 and 10.6.2 into one?), so I downloaded it, it installed a