GPS Lat = 0, Lon 0 = 0, 0

Hey there,

How can I tell when I get the latitude and longitude 0.0 because I'm really on this position only when something goes wrong and I also have this position.

Thanks in advance.

LocationProvider.getState ().

Tags: BlackBerry Developers

Similar Questions

  • Search location by address without LAT and LON

    Hello

    I have a database with addresses stored in oracle.

    column has the digital number or address

    address column bears the name of the address

    I need a good select statement that would produce the following

    If the address is lets say 500 main st, how could I bring only 10 records before and 10 after (490-510 main street)

    I tried to do this but there are a lot of files, and it takes forever... is there a better way?

    SELECT DISTINCT A. addr1_hse_hse as addr # , A. addr1_str_hse as Street , A. addr1_lot_hse as apt , A. TABLE as account # , B. eqp_serial_eqp as mac

    DE ACP . SBB_HSE_HSL A

    full join eqp_base B on b. eqp_local_eqp = a. sub_acct_no_SBB

    a. res_city_hse = 'city and a. res_state_hse = 'MA' and a. disco_dte_sbb = 1 January 01 '

    et a. addr1_str_hse = 'MAIN ST' and b. eqp_typ_eqp in ('0')

    ET trim(a. ADDR1_HSE_HSE ) >= '500'

    et rownum < 10

    UNION ALL

    SELECT DISTINCT A. addr1_hse_hse as addr # , A. addr1_str_hse as Street , A. addr1_lot_hse as apt , A. TABLE as account # , B. eqp_serial_eqp as mac 

    DE ACP . SBB_HSE_HSL A

    full join eqp_base B on b. eqp_local_eqp = a. sub_acct_no_SBB

    a. res_city_hse = 'CITY' and a. res_state_hse = 'MA' and a. disco_dte_sbb = 1 January 01 '

    et a. addr1_str_hse = 'MAIN ST' and b. eqp_typ_eqp in ('0')

    ET trim(a. ADDR1_HSE_HSE ) < '500'

    et rownum < 10

    order by addr#

    OK... now it would be useful that you posted the table structures...

    SELECT *.

    Of

    (SELECT A.addr1_hse_hse AS addr #)

    , A.addr1_str_hse AS street - it's Main St

    , A.addr1_lot_hse AS apt - that on this subject?

    -, A.table AS count #-this thereon a stupid column name!

    Mac B.eqp_serial_eqp YOU - what is it

    CASE

    WHEN SIGN (500 - to_number (regexp_substr (ltrim (A.addr1_hse_hse),'[0-9] +', 1, 1))) > = 0

    THEN row_number() over (ORDER BY to_number (regexp_substr (ltrim (a.addr1_hse_hse),'[0-9] +', 1, 1)) DESC)

    ANOTHER 99999

    END AS descending_rank

    CASE

    WHEN SIGN (500 - to_number (regexp_substr (ltrim (a.addr1_hse_hse),'[0-9] +', 1, 1)))<>

    THEN row_number() over (ORDER BY to_number (regexp_substr (ltrim (a.addr1_hse_hse),'[0-9] +', 1, 1)) CSA)

    ON THE OTHER

    99999

    END

    AS ascending_rank

    Eqp_base SBB_HSE_HSL A INNER JOIN B ON (b.eqp_local_eqp = A.sub_acct_no_SBB)

    WHERE A.res_city_hse = 'city '.

    AND A.res_state_hse = 'MA '.

    "AND A.disco_dte_sbb = DATE ' 01 / 01/01"

    AND A.addr1_str_hse = "MAIN ST."

    AND b.eqp_typ_eqp IN ('0'))

    WHERE descending_rank< 50="" or="" ascending_rank=""><>

    /

    should work (had some media in the wrong place)

    HTH

  • Question about GPS?

    Hi all

    Our application needs get the name of the location when running. That is to say the India - New Delhi, India--Mumbai, India--Chennai, UK - London,.

    UK - Belfast, USA, USA - New York, etc.

    can anyone suggest me that

    How can I get the names of place as above mentioned implementation of the GPS format in our application. ?

    How can I implement this, I want to say that all the other requirements?

    Thanks in advance.

    Kind regards

    Narendra.

    Use your current GPS lat and long and ask a Web service that has the list of the cities according to the lat and long that you pass. There is some webservices that provides options of this kind.

  • Address incorrect GPS blackBerry Smartphones

    BB Bold 9780; OS 6.0.0.448

    My GPS seems to work fine, but it reports the wrong address.

    Displayed by the GPS LAT/LONG info is correct - I confirm that with Google Maps and by NAVTEQ.

    The address on my BB for LAT/LONG is disabled by abour 2 miles.

    Everyone knows that and if so, is there a place to report the errow?

    Thank you

    That's what I tried to give an answer at the. Anyway. Its the same thing with my 9900, but sometimes it gets address reason too.
    According to me, a dedicated unit to the location is prioritized up there in space and more accurate...
    BlackBerry Maps still normally locates my position on the map, but it gives me the wrong address where I am. Maybe it's just like that? Well well, I don't know hehe. Good luck!!

  • Draw the circle on MapView

    Hi all.

    I am quite new to the development of the Cascades.

    I would like to know if it is possible to trace a circle on a plan, given a Point and a RADIUS.

    I searched a bit on the doc, but I not only found ways to draw polygons from a set of coordinates.

    IIRC the fact maps app exactly that, show GPS accuracy of the signal (IE put a circle around you on the map to show the accuracy of the coordinates).

    Thank you very much, greetings

    Thanks BBSJdev, but I need an overlay following cards (and with a dynamic dimension) and not static.

    In any case, I found a nice way to draw a circle-layer on the mapview. Here is the code:

    It is an improved version of the solution that someone else posted on this forum some time ago (which did not perfectly, as she draws an elypse and not a circle). I can't find this post now, in any case I would like to thank the user who wrote this snippet.

    Here is the code:

    void ApplicationUI::drawCircle(double lon, double lat, double radius) {    MapView *mv = root->findChild("mapView");    DataProvider *dp = mv->mapData()->defaultProvider();
    
        // convert radius meters to latitude width    double latr = radius / 111412.84; // this is the number of meters per degree
    
        // with longitude it's a bit more complicated, since a degree of longitude 's length    // is not constant (unfortunately the earth is not flat)    int a = 6371000; // earth radius in meters    double rad_lat = 0.0174532925 * lat; // convert latitude from degrees to radiants    double _lr = ((M_PI / 180) * a * cosf(rad_lat)); // length of a degree of longitude in meters    double lonr = radius / _lr;    qDebug() << "lonr = " << lonr << " ; _lr = " << _lr << " ; latr = " << latr << " ; lat = " << lat;
    
        GeoPolygon* result = new GeoPolygon;    Polyline line;    const int numOfSeg = 36;    for ( int i = 0; i < numOfSeg; i++ ) {        double theta = 2.0f * 3.1415926f * float( i ) / float( numOfSeg );        double x = lonr * cosf( theta );        double y = latr * sinf( theta );        line.append( Coordinate( y + lat, x + lon ) );    }
    
        result->setOuterBoundary( line );    result->setId("id-circle");    mv->mapData()->defaultProvider()->add(result);
    
    }
    
  • XML parser for the GPX file

    Hello

    I wonder how to get GPS to GPX file information. The GPX file is also XML, but I can't do the values "lat" and "lon" of the file.

    The GPX file:


    http://www.mooncity.pl"xmlns:nmea ="http://www.mooncity.pl">."
     
       
         
            150,0
           
            2D
            7
         

    Code:

    XML
    String _node, element;
    try {}
    DocumentBuilderFactory docBuilderFactory is DocumentBuilderFactory. newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder ();
    docBuilder.isValidating ();
    Doc document;
    doc = docBuilder.parse (fc.openInputStream ());
    doc.getDocumentElement () .normalize ();
    NodeList list = doc.getElementsByTagName ("*");
    Root = doc.getDocumentElement () of the element;
    NodeList list = root.getChildNodes ();
    _node = new String();
    element = new String();
    This loop 'for' is used to parse through the
    XML document and extract all the elements and their
    value, so they can be displayed on the device

    for (int i = 0; i)<>
    Node value = list.item (i).
    getChildNodes () .item (0);
    System.out.Print
    (list.item (i) .getNodeName ());
    System.out.println (value.getNodeValue ());
                    
    element value = .getNodeValue ();
    System.out.println
    (list.item (i) .getNodeValue ());
    System.out.println
    (element = value .getNodeValue ();
    updateField (_node, element);
             
    (_node, element);
    } //end for
    }
    catch (Exception e) {}
    System.out.println (try ());
    }
                        
    end of XML

    The output of the program:

    GPX
    TRK
    trkseg
    trkpt
    ele150.0
    time2009-08 - 22 T 11: 25:41 + 01:00
    fix2d
    SAT7

    Missing values:

    lat = lon "12.273434000" = "10.993777000."

    Are there other method or the GPX file scanner?

    You must get the attributes to read these values... Use the getAttributes method. You might could google to find examples of xml parsing.

  • How can I display table 2D tabular on the Panel before the user can delete any subdashboards

    Hi guys and girls.

    It is my first post here, so go easy on me. I promise you that I used my best GoogleFu I before posting here.

    I am a self taught amateur LabView. I worked on a User Interface for my Robot SAGAR. See some of my work so far (girlfriend used as a draft classes, but we have both worked together on it, which got hooked me in the first place on LV):

    Now, I'm working on the use of LV and Google Earth as a planner of mission right now.

    My question is this. I have a 2D array that stores the Lat/Lon each waypoint. I's like to have posted on my

    front tabular, with WP # (the 1st dimension array index), Lat and Lon on line, like this.

    More importantly, have the user can select a point of full path (or just the number of WP would be ok) and remove it using key DELETE or any other button on the Panel.

    I am at a loss on how to do it. Ideas?

    Thanks for the help!

    Heal the little robot.

    You said that you were using a table. I suggest using a multicolumn listbox. In this way, you can change the selection mode to "highlight the whole line. You can use a structure of the event to respond to the user by pressing the delete key. See attached simple example. Note that some keyboard can label the BACKSPACE key as 'delete '. If you want to answer it, you also have to see if the Char value is 8, which is the code for this key.

  • NullPointerException when app running, but don't not during debugging

    When I run my app in the Simulator I get a nulpointerexception, but when I debug in the Simulator even I get no exception.  Has anyone seen this behavior before and how can I find the source of the exception?

    I tried this a couple of simulators.  There's a place in my code I know wherever I knocked a nullpointer but this exception is caught by the debugger with a catch (Throwable t) {...} line.  Catch (Throwable) does not work in run mode?

    I use JDE 5, 9550 and 9530 sims, eclipse 3.5.2 plugin 1.1 and compliance of java 1.5

    By adding an extra

    catch (NullPointerException e) {}

    block that now my exception gets handled.  The final catch blocks look like this:

    try{
    ...
    //code that throws nullpointerexception
    ...
    } catch (NullPointerException e) {
        lat=0;
        lon=0;
    catch (Throwable t) {
            lat=0;
        lon=0;
    }
    

    Seems to me the catch (Throwable t) should work in run mode too.  Is NullPointerException not a throwable in run mode?

    -Peter, I did not look into the timing stuff.

  • Application crashes when I join class presentation

    So I tried to figure out how to get the filepath link to invoke my camera.  I'm at the point where I tried everything nothing helped.  My last attempt was tie the class is exposed from my source code in my QML.

    in main.cpp:

    using ::bb::cascades::Application;
    // this allows us to write "Application"
    // instead of "bb::cascades::Application"
    
    void myMessageOutput(QtMsgType type, const char* msg) {
        Q_UNUSED(type);
       fprintf(stdout, "%s\n", msg);
       fflush(stdout);
    }
    // main() is the entry point of the application. It will be called by the
    // operating system when you start the application. You should never call this
    // yourself.
    Q_DECL_EXPORT int main(int argc, char **argv)
    {
    
        qmlRegisterType("bb.platform", 1, 0, "RouteMapInvoker");
            bb::data::DataSource::registerQmlTypes();
            qmlRegisterType("bb.platform", 1, 0, "LocationMapInvoker");
            bb::data::DataSource::registerQmlTypes();
        // "Application" is the BB cascades class that handles interaction the
        // with BB10 operating system.
        Application app(argc, argv);
    
    #ifndef QT_NO_DEBUG
       qInstallMsgHandler(myMessageOutput);
       #endif
    
        // Register this type so qml can refer to enums and other symbols
        // declared in the App class.
        qmlRegisterType("Custom.lib", 1, 0, "ApplicationUI");
    
        // Create an instance of App on the stack. App's
        // constructor registers itself with Application object using setScene().
        // See app.cpp
        app.setCover(new ActiveFrame());
        ApplicationUI mainApp;
    
        // Start the application event loop (run-loop).
        return Application::exec();
    
        // When the loop is exited the Application deletes the scene which deletes
        // all its children (per Qt rules for children)
    }
    

    ApplicationUI.hpp:

    class ApplicationUI : public QObject
    {
        // Classes that inherit from QObject must have the Q_OBJECT macro so
        // the meta-object compiler (MOC) can add supporting code to the application.
        Q_OBJECT
    
        Q_PROPERTY(bb::cascades::DataModel* dataModel READ dataModel CONSTANT)
    
    public:
    
        // Describes the possible storage locations
        enum StorageLocations
        {
            StoreInQSettings, ///< objects are stored in QSettings
            StoreInFile       ///< objects are stored in custom files
        };
    
        // This allows the enum to be referred to in the qml file.
        // Note: the class also has to be registered using qmlRegisterType().
        // See the main.cpp file.
        Q_ENUMS(StorageLocations)
    
        // Creates a new App object
        ApplicationUI(QObject *parent = 0);
    
        // destroys the App object
        ~ApplicationUI();
    
        Q_INVOKABLE
            void inviteUserToDownloadViaBBM();
        Q_INVOKABLE
            void updatePersonalMessage(const QString &message);
    
            // Creates a new location object and saves it.
        Q_INVOKABLE bool addObject(const QString &name, const QString &description, const QString &datefield, const QString &lat, const QString &lon, const QString &categoryfield, const QString &mapurl, const QString &itempic);
    
        // Read all the objects from the selected storage location and
        // put them in the data model
        Q_INVOKABLE void refreshObjects();
    
        // Remove all the objects from the selected storage location.
        Q_INVOKABLE void clearObjects();
    
        // Change the first and last name of the location with the
        // provided id. Update the data model and storage.
        Q_INVOKABLE bool updateObject(const QString &id, const QString &name, const QString &description, const QString &datefield, const QString &lat, const QString &lon, const QString &categoryfield, const QString &mapurl, const QString &itempic);
    
        // Delete the location with the given id from the selected storage location.
        Q_INVOKABLE bool deleteObject(const QString &id);
    
        // Change the location we're using for the data, and
        // refresh the list.
        Q_INVOKABLE void setStorageLocation(StorageLocations strLocation);
    
            Q_INVOKABLE void addPinAtCurrentMapCenter();
            Q_INVOKABLE void clearPins();
            Q_INVOKABLE void updateDeviceLocation(double lat, double lon);
            Q_INVOKABLE QString getValueFor(const QString &objectName, const QString &defaultValue);
            Q_INVOKABLE void saveValueFor(const QString &objectName, const QString &inputValue);
            Q_INVOKABLE void InvokeCamera();
            Q_INVOKABLE void InvokeSettings();
            Q_INVOKABLE void InvokeImageViewer(const QString &urlPic);
    
            public slots:
            void childCardDone(const bb::system::CardDoneMessage &message);
    
            signals:
            void cameraCaptureCompleted(const QString &imageLink);
    //        void filterChanged();
    
    ........
    

    in my ApplicationUI.cpp

    ApplicationUI::ApplicationUI(QObject *parent)
        : QObject(parent)
        , m_lastCustomerID(0)
        , m_storageLocation(StoreInQSettings)
        , m_storage(new SettingsStorage)
    
    {
    
        // prepare the localization
            m_pTranslator = new QTranslator(this);
            m_pLocaleHandler = new LocaleHandler(this);
            invokeManager = new bb::system::InvokeManager();
            invokeManager->setParent(this);
    
            if(!QObject::connect(m_pLocaleHandler,
                SIGNAL(systemLanguageChanged()),
                this,
                SLOT(onSystemLanguageChanged()))) {
                // This is an abnormal situation! Something went wrong!
                // Add own code to recover here
                qWarning() << "Recovering from a failed connect()";
            }
    
            connect(invokeManager,
            SIGNAL(childCardDone(const bb::system::CardDoneMessage&)), this,
            SLOT(childCardDone(const bb::system::CardDoneMessage&)));
    
            // initial load
            onSystemLanguageChanged();
    
        // Initialize the data model before the UI is loaded
        // and built so its ready to be used.
        initDataModel();
    
    //    qmlRegisterType("uri",1,0,"App");
    
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
        qml->setContextProperty("_app", this);
    
        AbstractPane *root = qml->createRootObject();
    
    .....
    
    void ApplicationUI::InvokeCamera()
    {
        bb::system::InvokeManager manager;
        bb::system::InvokeRequest request;
        request.setTarget("sys.camera.card");
        request.setAction("bb.action.CAPTURE ");
        request.setMimeType("image/jpeg");
        InvokeTargetReply *targetReply = manager.invoke(request);
    
    }
    
    void ApplicationUI::childCardDone(const bb::system::CardDoneMessage &message)
    {
        QString imageLink;
        if (message.reason() == "done") {
    
            imageLink = "file://" + message.data();
        }
        qDebug() << message.reason() << "\n";
        qDebug() << message.dataType() << "\n";
        qDebug() << "file://" + message.data() << "\n";
    
        emit cameraCaptureCompleted(imageLink);
    }
    

    in my QML:

    import bb.cascades 1.0
    import Custom.lib 1.0
    
    Sheet{
    
    Page{
    
    Container{
    
    Label{id: itemPic}
    
    Button{
    
    onClicked: {
    _app.InvokeCamera()
    }
    
    }
    
    }
    
    attachedObjects: [
    
    ApplicationUI {
    onCamerCapturedCompleted: {
    
    itemPic.setText(imageLink)
    
    }}
    ]
    }
    }
    

    As soon as I attach the class the application does not start and the accident, if I change it it is fine.

    Hello

    Instance of ApplicationUI is already exported to QML as _app. One possible approach connects the signal to a JS function:

    Sheet
    {
      onCreationCompleted: {
        _app.cameraCaptureCompleted.connect(captureCompleted)
      }
    
      function captureCompleted(imageLink) {
        console.log("imageLink: " + imageLink)
      }
      ...
    
    }
    

    Element using Qt Quick "Connection" is another option.

    This code should be deleted (it creates a second instance of ApplicationUI, which probably was not provided):

    qmlRegisterType("Custom.lib", 1, 0, "ApplicationUI");
    
    ...
    
    attachedObjects: [
    ApplicationUI {
    onCamerCapturedCompleted: {
    itemPic.setText(imageLink)
    }
    
  • problem with map

    Hello

    I want to show 10 property of single page on the map, but I don't have a solution.

    I take latitude and longitude for each property of the webservice.but my code I show single property

    the map on 10.

    Code:

    mapping class extends screen
    {
    double lat, lon;
    int latitude and longitude;
       
    MapView mapview.
    mappage()
    {
           
          
    for (int i = 0; i)<>
    {
    MapView = new MapView();
    LAT = double.parseDouble (main.lati [i]);
    Latitude = (int)(lat*100000);
    LON = double.parseDouble (main.longi [i]);
    Longitude = (int)(LON*100000);

    mapview.setLatitude (latitude);
    mapview.setLongitude (longitude);
    mapview.setZoom (5);
    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, new MapsArguments (mapview));
         
    }
    }
    }

    Please help me as soon as possible.

    Thanks for the reply

    I have sloved it myself.

  • Planning for 5.0: many questions, not enough answers!

    We would like to start planning the launch of the 5.0 browser and have many questions.  I hope that Tneil or other people can help...

    1 has announced a release date yet?

    2. What devices will come with it standard?

    3. What are the previous devices will be able to upgrade to it?

    4. What is the upgrade process?

    5. a minimum of OS will be necessary?

    6. what device API will be available?

    a. blackberry GPS (lat/long play)?

    b. blackberry Maps (mapping of the location, directions?

    c. Blackberry AddressBook (read & write)?

    d. Blackberry calendar (read & write)?

    e. Blackberry Email (write, with attachments, the body and custom object).

    7. an announcement on the site of the Blackberry Developer's Blog when they are available?

    8 is it too late to get in on the beta?

    9. what new functions/classes of Javascript will be supported?

    Thanks for any info you can provide.  This will really help us to plan for the future development activity.


  • Is threre a sulotion to improve the performance of TableIterator &lt; row &gt;?

    I want to retrieve a table according to one index.

    For example, I have a table like this:

    tableName {}

    whole rowID,

    carID String,

    Double, Lat

    LON double,

    long time,

    code string

    }

    I create an index named 'stIndex' in the field 'code '.

    Now, I want to query the table using the stIndex:

    What follows is my request code fragment.

    Index stIndex = myTable.getIndex ("stIndex");

    IndexKey codeIndexKey =stIndex.createIndexKey ();

    Create the field range

    FieldRange fh =stIndex.createFieldRange("code")

    fh.setStart ("AAA", true);

    fh.setEnd ("AAAZ", true);

    MultiRowOptions mro = fh.createMultiRowOptions ();

    TableIterator < row > iter = tableH.tableIterator (codeIndexKey, mro, null);

    Then, make more filter according to the fields (lat, lon, time) of the returned records.


    Because there are too many documents answering the query condition, the filter operation need to spend a lot of time.

    If the query operation above returns records meeting the condition of request at a time, I can speed up the filter operation by using the framework of fork/join in java. But the questioning the above operation returns the TableIterator < row >, I have no idea to speed up the querying operation or filtration.

    Hello

    It is a very good question.  TableIterators, as you pointed out, are single-threaded, so there is no way to separate the iteration across multiple threads or processes once you call TableAPI.tableIterator ().  It is also not possible to do what you ask and return all the results into a single list.  You can increase the size of the batch in the number of returned results in each call to the server nodes, but which makes it not possible to split the transformation, either between the threads.

    Is it possible for you to split further the range of desired values of the indexed field 'code' in a way such that you can create multiple threads and each call tableIterator() on a different and exclusive range of values?  Allowing your filtering more to run in parallel, with as many threads as you have the unique beaches.

    Kind regards

    George

  • An alphanumeric string

    Good day to all,

    I have what I hope to be a simple question. I have a table that I'm storing Latitude and longitude in. The current format for each example is N432301 for the Latitude and
    W0844150 for Longitude.

    I need the output formatted to

    N 43-23-01 for Latitude

    and

    W-84-41-50 of Longitude.

    GMoney says:

    Greg,

    I ran this by using the following:

    {code}

    with xx (lat select 'N402456', 'W1203926' double lon)

    Select substr (lat, 1, 1) | '-' || substr (lat, 2, 2) | '-' || substr (lat, 4, 2) | '-' || substr(lat,6,2) latitude,

    substr (Lon, 1, 1) | '-' || substr (Lon, 3, 2) | '-' || substr (Lon, 5, 2) | '-' || longitude substr (Lon, 7, 2)

    XX.

    {code}

    and the result was:

    LATITUDE LONGITUDE
    N 40-24-56 W 20-39-26

    which is false, because in this case the lon was 3 Tank 2 after abandoning the '0' of the 084.

    That's why I started with "Really need rules to ensure that it is accurate"

    Seriously, if you don't give us some good features, you can't complain that much if we get not all your requirements in the first inning.

    If you find a first 3 digits, no problem...

           substr(lon,1,1) || '-' || substr(lon,2,3) || '-' || substr(lon,5,2) || '-' || substr(lon,7,2) longitude
    

    If you need to drop the 0 on the previous example (still guessing, because you have not given any real rules)

           substr(lon,1,1) || '-' || to_char(to_number(substr(lon,2,3)),'fm999') || '-' || substr(lon,5,2) || '-' || substr(lon,7,2) longitude
    

    but at this point, Mike reg exp's scheming probably work better

    Laughing out loud

    [edit]

    Just for completeness:

    with xx as ( select 'N432301' lat, 'W0844150' lon from dual union all
                 select 'N402456'    , 'W1203926'      from dual
     )
    select substr(lat,1,1) || '-' || substr(lat,2,2) || '-' || substr(lat,4,2) || '-' || substr(lat,6,2) latitude,
           substr(lon,1,1) || '-' || to_char(to_number(substr(lon,2,3)),'fm999') || '-' || substr(lon,5,2) || '-' || substr(lon,7,2) longitude
      from xx;
    

    LATITUDE LONGITUDE

    ---------- ------------

    N 43-23-01 W - 84 - 41 - 50

    N 40-24-56 W - 120 - 39 - 26

    2 selected lines.

    Great demands, comes with excellent results.

    Bad conditions, just mediocre results

  • Permanent Error #2044: Unmanaged by ioError:. Text = Error #2032: error flow. URL:

    Flash CS5.5, has worked before, but now to be permanently: #2044 Error: unhandled ioError:. Text = Error #2032: error flow. URL inside the Flash IDE, have no problem published in HTML with F12. the content is displayed, of course, works fine on the server

    The code is very simple:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, loadXML);

    Loader.Load (new URLRequest (sameResultsonAnyAddress))


    It is not cross-domain problem

    He is not spelling problem
    Something wrong in Flash Pro IDE during test and debug,
    I have disabled my McAfee firewall, did not help.
    Really confused, can not guess what could be the problem.

    Hi John,.

    I tried with your action script code and it works perfectly on my system. I have the entire xml trace in the output window.

    However, if I tried this on a system with no internet connection IE the link - http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit = 1, itself does not work, I get the same output you get.

    Error opening URL 'http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& unit = 1'

    Error #2044: Unmanaged by ioError:. Text = Error #2032: error flow. Unit URL: http://forecast.weather.gov/MapClick.php?FcstType=dwml&lat=42&lon=-85& = 1

    at Untitled_fla::MainTimeline/frame1()

    Let me know if it helps.

    Thank you and best regards,

    Roger Simon

    Adobe Flash Professional Team.

  • Northeast, South-West recovery points of the rectangle encompassing minimum

    Currently, I'm doing something like that to get a rectangle encompassing minimum:
    SELECT SDO_UTIL.TO_WKTGEOMETRY(SDO_GEOM.SDO_MBR(
         SDO_GEOM.SDO_BUFFER(
         SDO_GEOMETRY
                   (2001, -- SDO_GTYPE attribute: 2 = 2D, 1=point
                   4326, 
              SDO_POINT_TYPE(-79.02, 35.90, NULL),
              NULL,
                   NULL),
                        30, -- miles
                   .05,      -- tolerance
                   'unit=mile')
                       )) box
              from dual 
    I retrieve the text well known for the rectangle, then analyze this text for lons lat Southwest and Northeast. Is it possible I can get each similar to individual columns, lat and lon separately, using the sql? Maybe a function table? That would make things much easier.

    Edited by: Abc123Xyz on October 15, 2009 10:48

    You can use SDO_GEOM. SDO_MAX_MBR_ORDINATE and SDO_GEOM. SDO_MIN_MBR_ORDINATE.

    Select SDO_GEOM. SDO_MAX_MBR_ORDINATE (box 1), SDO_GEOM. SDO_MAX_MBR_ORDINATE (box 2),
    SDO_GEOM. SDO_MIN_MBR_ORDINATE (box 1), SDO_GEOM. SDO_MIN_MBR_ORDINATE (box 2)
    de)
    SELECT SDO_GEOM. () SDO_MBR
    SDO_GEOM. () SDO_BUFFER
    SDO_GEOMETRY
    (2001,-attribute SDO_GTYPE: 2 = 2D, 1 = point)
    4326,
    SDO_POINT (-79.02, 35.90, NULL)
    NULL,
    (NULL),
    30-miles
    .05,-tolerance
    "(unit = mile ').
    box of (()) double);

Maybe you are looking for