Calculating distance between lat long coordinates best possible way?

Hi,
Am proposing to have a table A with latitude and longitude values along with some other info for that lat lon in it. The number of rows of data will be more and it will be growing day by day. i am having one application which will provide a latitude and longitude value and this i have to compare with all the lat lon of the table A and fetch the nearest (distance wise) information from other columns corresponding to that lat long in table A.
what is the best method available to implement this so as to reduce the time required to compare lat lon supplied with all rows of data in table A.
Thanks in advance.

Have a look at the spatial option from oracle. Also there is a forum dedicated to this type of questions.
http://www.oracle.com/technetwork/database/options/spatial/index.html
especially: http://download.oracle.com/otndocs/products/spatial/pdf/locator11g_feature_overview.pdf
Edited by: Sven W. on Nov 30, 2010 5:53 PM

Similar Messages

  • Calculating distance between Lat Long points

    I'm wondering if anyone out there has done this before in LabVIEW.  Does anyone have a model of the "Great Circle" calculation?  I have a file of lat/long points that I need to calculate the distance between.  Any help??
    V/r,
    Chris

    I haven't done it in LV, but if you go to Wikipedia and search for Great Circle Distance you'll find the formual and an example.

  • Loading Polygon Lat/Long Coordinates

    Am working with Census 2000 data. I have added coordinates to cen00_state
    based on the centroid values in INTPTLAT (latitude) and INTPTLON (longitude).
    SQL> describe cen00_state;
    Name Null? Type
    STUSAB NOT NULL VARCHAR2(2)
    REGION NOT NULL VARCHAR2(1)
    DIVISION NOT NULL VARCHAR2(1)
    STATECE NOT NULL VARCHAR2(2)
    STATE NOT NULL VARCHAR2(2)
    AREALAND NOT NULL VARCHAR2(14)
    AREAWATR NOT NULL VARCHAR2(14)
    NAME NOT NULL VARCHAR2(20)
    FUNCSTAT NOT NULL VARCHAR2(1)
    GCUNI NOT NULL VARCHAR2(1)
    POP100 NOT NULL NUMBER(9)
    HU100 NOT NULL NUMBER(9)
    INTPTLAT NOT NULL VARCHAR2(10)
    INTPTLON NOT NULL VARCHAR2(11)
    LSADC NOT NULL VARCHAR2(2)
    HUD_REGION_ID NOT NULL NUMBER(2)
    HUD_REGION_NAME NOT NULL VARCHAR2(11)
    CKEY NOT NULL VARCHAR2(2)
    STATE_GEO_LOCATION MDSYS.SDO_GEOMETRY
    SQL> -- Select state data for New Hampshire
    SQL> select * from cen00_state where state = 33;
    ST R D ST ST AREALAND AREAWATR NAME F G POP100
    HU100 INTPTLAT INTPTLON LS HUD_REGION_ID HUD_REGION_ CK
    STATE_GEO_LOCATION(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_O
    NH 1 1 12 33 23227265747 988970050 New Hampshire A N 1235786
    547024 +43.309253 -071.540147 01 1 Region I 33
    SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-71.540147, 43.309253, NULL), NULL, NULL
    Metadata dictionary entry...
    SQL> select * from user_sdo_geom_metadata where table_name = 'CEN00_STATE'
    TABLE_NAME
    COLUMN_NAME
    DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SRID
    CEN00_STATE
    STATE_GEO_LOCATION
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('LONG', -180, 180, .005), SDO_DIM_ELEMENT('LAT', -
    90, 90, .005))
    8307
    Index...
    SQL> select * from user_sdo_index_info where index_name like 'CEN00_STATE%';
    INDEX_NAME TABLE_NAME
    COLUMN_NAME
    SDO_INDEX_TYPE SDO_INDEX_TABLE
    SDO_INDEX_STATUS
    CEN00_STATE_SIDX CEN00_STATE
    STATE_GEO_LOCATION
    RTREE MDRT_37FFD$
    VALID
    SQL> -- Query example
    SQL> -- How close are the New England states to New Hampshire (centroid)?
    SQL> select /*+ordered*/
    a.name,sdo_geom.sdo_distance (a.state_geo_location, b.state_geo_location,
    .005,'unit=MILE') distance_in_miles
    from cen00_state b, cen00_state a
    where b.state = 33 and a.state <> 33
    and sdo_within_distance (a.state_geo_location,b.state_geo_location,
    'distance = 150 unit=MILE') = 'TRUE'
    order by distance_in_miles
    NAME DISTANCE_IN_MILES
    Massachusetts 74.4552857
    Vermont 75.246055
    Rhode Island 109.036884
    Maine 139.790842
    Connecticut 139.841283
    Since the coordinates are the centroid location within a particular
    geographic level, I want to store the polygons. For the Census 2000
    table cen00_anrc:
    SQL> describe cen00_anrc;
    Name Null? Type
    STATE NOT NULL VARCHAR2(2)
    ANRC NOT NULL VARCHAR2(5)
    ANRCCC NOT NULL VARCHAR2(2)
    AREALAND NOT NULL VARCHAR2(14)
    AREAWATR NOT NULL VARCHAR2(14)
    NAME NOT NULL VARCHAR2(90)
    FUNCSTAT NOT NULL VARCHAR2(1)
    GCUNI NOT NULL VARCHAR2(1)
    POP100 NOT NULL NUMBER(9)
    HU100 NOT NULL NUMBER(9)
    INTPTLAT NOT NULL VARCHAR2(10)
    INTPTLON NOT NULL VARCHAR2(11)
    LSADC NOT NULL VARCHAR2(2)
    CKEY NOT NULL VARCHAR2(7)
    ANRC_GEO_LOCATION MDSYS.SDO_GEOMETRY
    I obtained the polygon coordinates from the Census Bureau for the ANRC geography.
    The data was loaded into a table:
    SQL> describe poly_4pt;
    Name Null? Type
    STATE VARCHAR2(2)
    ANRC VARCHAR2(5)
    GID VARCHAR2(32)
    GEOMETRY MDSYS.SDO_GEOMETRY
    An example query:
    SQL> select * from poly_4pt where gid = 68;
    ST ANRC GID
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    02 01570 68
    SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARR
    AY(173.602191, 52.444285, 173.732254, 52.5124549, 173.73627, 52.512422, 173.7695
    03, 52.512072, 173.772799, 52.509905, 173.772402, 52.506877, 173.766595, 52.5032
    94, 173.754979, 52.496127, 173.739385, 52.493257, 173.722218, 52.4846423, 173.70
    7741, 52.477377, 173.700056, 52.4655878, 173.695719, 52.458935, 173.691601, 52.4
    45935, 173.69386, 52.438694, 173.702252, 52.434804, 173.704299, 52.432192, 173.7
    12323, 52.421033, 173.719161, 52.397703, 173.725102, 52.360316, 173.725696, 52.3
    56579, 173.722229, 52.3565693, 173.651293, 52.35637, 173.644793, 52.357598, 173.
    640825, 52.359428, 173.606767, 52.378249, 173.595397, 52.391893, 173.593253, 52.
    3948411, 173.588794, 52.400973, 173.562061, 52.4011506, 173.559891, 52.401165, 1
    73.559254, 52.4008288, 173.556548, 52.3994015, 173.543778, 52.392666, 173.539462
    , 52.3916242, 173.512162, 52.385035, 173.503009, 52.384534, 173.495585, 52.38412
    77, 173.483843, 52.383485, 173.475268, 52.3840144, 173.465442, 52.384621, 173.45
    5586, 52.389656, 173.3955, 52.402647, 173.385704, 52.404072, 173.36964, 52.40396
    09, 173.362396, 52.4039108, 173.356927, 52.403873, 173.356103, 52.405563, 173.38
    0058, 52.431843, 173.440111, 52.453664, 173.445696, 52.455031, 173.467698, 52.44
    4473, 173.476243, 52.441909, 173.485468, 52.4415431, 173.490265, 52.4413527, 173
    .496641, 52.4410998, 173.501022, 52.440926, 173.525161, 52.448137, 173.530105, 5
    2.449968, 173.550002, 52.467067, 173.549605, 52.469989, 173.545302, 52.476, 173.
    555739, 52.479472, 173.556228, 52.4794307, 173.562814, 52.4788745, 173.587554, 5
    2.476785, 173.597091, 52.4847036, 173.623883, 52.506948, 173.680586, 52.512878,
    173.732254, 52.5124549))
    Now I want to load the polygons into cen00_anrc doing a join between
    poly_4pt and cen00_anrc with anrc as the join field. After a number
    of attempts to do so I am received an error saying that the SRID criteria
    doesn't match at various levels. Unfortunately I can't seem to reconstruct
    the query that I was using earlier to get to the point where I was
    getting the SRID error.
    Questions:
    - Can I store polygons as lat/long coordinates? If affirmitive, then
    what are the proper values for the header information for SDO_GEOMETRY?
    - What is the most efficient SQL update command to load the polygons from
    the poly_4pt table into the cen00_anrc table?
    Thank you for any assistance.

    I have further narrowed down the problem. It is the way the sdo_geometry and sdo_elem_info_array information is being placed in the data flow within the sqlldr control file. If I leave out the '8307' SRID value thusly:
    LOAD DATA
    INFILE *
    TRUNCATE
    CONTINUEIF NEXT(1:1) = '#'
    INTO TABLE POLY_4PT
    FIELDS TERMINATED BY '|'
    TRAILING NULLCOLS (
    STATE CHAR,
    ANRC CHAR,
    GID INTEGER EXTERNAL,
    GEOMETRY COLUMN OBJECT
    SDO_GTYPE INTEGER EXTERNAL,
    SDO_ELEM_INFO VARRAY TERMINATED BY '|/'
    (elements FLOAT EXTERNAL),
    SDO_ORDINATES VARRAY TERMINATED BY '|/'
    (ordinates FLOAT EXTERNAL)
    begindata
    02|03950|1|2003|1|1003|1|/
    #-0.153395741022000E+03|0.679530269228395E+02|
    #-0.149460812000000E+03|0.680022380000000E+02|
    #-0.149506561000000E+03|0.680019960000000E+02|
    it loads the correct values into the respective fields:
    SQL> select * from poly_4pt where anrc = '00590';
    ST ANRC GID
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    02 00590 9
    SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARR
    AY(-144.47165, 61.6139949, -148.80311, 63.649898, -148.78899, 63.649597, -148.78
    899, 63.649597, -148.66386, 63.647044, -148.42804, 63.649307, -148.42155, 63.503
    If I add the '8307' SRID to the data syntax thusly ('8307' now follows SDO_GTYPE):
    02|03950|1|2003|8307|1|1003|1|/
    #-0.153395741022000E+03|0.679530269228395E+02|
    #-0.149460812000000E+03|0.680022380000000E+02|
    #-0.149506561000000E+03|0.680019960000000E+02|
    The data doesn't get loaded into the proper fields. The '8307' SRID becomes part of SDO_ELEM_INFO instead of SDO_SRID even though it seems that it should load correctly the way I have it formatted.
    SQL> select * from poly_4pt where anrc = '00590';
    ST ANRC GID
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    02 00590 9
    SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(8307, 1, 1003, 1), SDO_ORDINATE_ARRAY(-144.47165, 61.6139949, -148.80311, 63.649898, -148.78899, 63.649597, -
    148.78899, 63.649597, -148.66386, 63.647044, -148.42804, 63.649307, -148.42155,
    63.503574, -148.41974, 63.462892, -148.41658, 63.391985, -148.36345, 63.391998,
    So the real problem is that I don't understand what sqlldr is doing and therefore don't understand where I should position the '8307' SRID value in the data flow in order for it to be loaded into the correct field. I guess I am "object-relational data load challenged"!
    Thank you for your continued assistance.

  • Select data with SDO_RELATE in lat long coordinate system(8307) in 10gR2

    Hi all,
    I have problem with selecting data from table.
    Data are in lat lon coordinate system 8307.
    These requests don't return any data:
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)) ) = 'TRUE';
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_RELATE(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)), 'MASK=ANYINTERACT' ) = 'TRUE'
    Optimized polygon does return all data correctly:
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,3),sdo_ordinate_array (-180,-90,180,90)) ) = 'TRUE'
    Smaller polygon select data correctly too.
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array (52,-7, 54,-7 , 54,-5 , 52,-5, 52,-7)) ) = 'TRUE'
    I have tried changed polygon to be clockwise, counter clockwise, make the area a bit smaller( 160 instead of 180, 89 instead of 90) nothing has helped.
    My explanation than was, that Earth is sphere and each defined polygon defines TWO polygons in the sphere and there is convention that the smaller is chosen to select data. It would make sense along the previous results, but than I found one post which says that this is bug http://www.frontoracle.com/oracle-database/703/180703-size-of-are-of-interest-smaller-equals.html
    I have found in other thread that max only 1/2 of Earth could be selected Different results using SDO_RELATE with polygon and rectangle type but it seems not true, because optimized bounding box works fine!
    What is right? Is there anything in official documentation?
    Is it bug.
    Max 1/2 of Earth could be selected in one request.
    Each polygon defines two areas in the Earth and the smaller one is used to do spatial SDO_RELATE operation?
    Thanks!
    Regards,
    Zdenek

    Zdenek,
    A bug, or limititation, whichever you choose. IMHO if you ask for something, and don't get what you expect, it is a bug that could be fixed.
    But for 10g anywho, the following applies, which is why I choose 120 degree breaks for my code as it is less than 180...
    The following size limits apply with geodetic data:
    ■ No polygon element can have an area larger than one-half the surface of the Earth.
    ■ In a line, the distance between two adjacent coordinates cannot be greater than or
    equal to one-half the perimeter (a great circle) of the Earth.
    If you need to work with larger elements, first break these elements into multiple
    smaller elements and work with them. For example, you cannot create a geometry
    representing the entire ocean surface of the Earth; however, you can create multiple
    geometries, each representing part of the overall ocean surface. To work with a line
    string that is greater than or equal to one-half the perimeter of the Earth, you can add
    one or more intermediate points on the line so that all adjacent coordinates are less
    than one-half the perimeter of the Earth.
    Bryan

  • How to create a polygon with the Lat/Long Coordinates

    I have set of Lat/Long coordinates and I need to create a polygon geofence. Can any of you know how to do this please share your thoughts with me
    I have the following coordinates
    -84.3087, 39.3465; -84.3118904, 39.3306296; -84.3265158, 39.3372422; -84.2866, 39.3371; -84.2958, 39.3284; -84.2888, 39.3241
    Thanks

    Assuming these are long/lat values, the polygon can be defined as:
    sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 1),
    sdo_ordinate_array(-84.3087, 39.3465, -84.3118904, 39.3306296, -84.3265158, 39.3372422, -84.2866, 39.3371,
    -84.2958, 39.3284, -84.2888, 39.3241, -84.3087, 39.3465))
    siva

  • On my iCloud account I can see an alternate email ID which can be used to login to my account, this email ID does not belong to me so I need to delete it. Please advice the best possible way as it does. It show any option to delete that ID

    On my iCloud account I can see an alternate email ID which can be used to login to my account, this email ID does not belong to me so I need to delete it. Please advice the best possible way as it does. It show any option to delete that ID

    Do the alternate e-mail address ends with me.com or icloud.com?

  • How to Move from CSV to Table in Physical layer in Best possible way

    We had a project which had the source (physical Layer) as CSV. Now there are moving from CSV to a Table in the Database.
    Can anyone guide through the best possible way to complete the task
    With Regards!
    Steve

    Create a new Database node in the Physical layer with connection pool, create a schema folder and drag your CSV object into the new database - All your BMM mappings and hence Presentation objects will move over seamlessly.
    Might be an idea to simply reverse engineer / import any object from your database to initially create your database connection / tree then simply drag the CSV into it.
    Hope this helps,
    Alastair

  • Calculating distance between polyons in a donut

    Is there any easy way of measure the nearest distance between the outer ring of a donut and the inner ring?
    I've split the polygons into two discrete objects and tried sdo_distance but always get 0.00.
    Any help would be appreciated?

    Hi David,
    In Oracle10g there is a function sdo_util.polygontoline.
    If you extract each of the elements of interest, you can convert them to lines, then the distance will work for you.
    If you keep the geometries as polygons, then the distance is 0 because one polygon is inside the other polygon.
    Hope this helps, and all is well with you.
    Dan

  • Best possible way to achieve HashMap (Java Collection) in ABAP

    Hi
    I need to store name-value pair at runtime, where name act as a key (something what HashMap provides in Java). What is the best possible approach to do this?
    I can create a Structure (having two fields name and value) and then a Table Type on this structure to store multiple values, but how to make it unique?
    Please help.
    Regards,
    Arpit.

    Hi,
    In ABAP you can define table with KEY as unique.
    You also have different types of table in SAP. (Standard, Hashed, Sorted).
    You can refer to the link for details.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fc/eb36c8358411d1829f0000e829fbfe/frameset.htm
    Regards,
    Saurabh

  • Auditing tables - What are the best possible ways of doing it?

    Hello Everyone,
    DB version: 10g.
    Brief description of the problem: Right, now I am working on an application which has a java frontend and oracle
    backend. We have no access to the java code at all. So, it is a complete blackbox. . Just wondering, if I could go for a schema level trigger to know, which columns of which tables are altered upon some action at the frontend. Or, if I know the tables specifically, say tab A and tab B; Should I go for a row level trigger on them, instead of going for a
    schema level trigger. Which approach will be the best? If possible, would you please point me to some code samples
    for both of them.
    Thanks.

    http://www.oracle.com/pls/db102/search?remark=quick_search&word=audit&tab_id=&format=ranked

  • Queuing queries -  best possible way with Pros and cons

    Hi,
    I have multiple queries on Queues.
    Please provide valuable answers and receive good rewards:
    1. is it possible to seclude specific one group of business messages (x customer) to seperate queues? this is to ensure that our messages are secluded from other group of business messages(other y customer) and minimize the impact from each other. the existing setup is 10 queues for EOIO (each once in order) and 10 queues for EO (each once), 5 apart for inbound and 5 for outbound.
    2. what's the impact to hardware requirement if we're to configure more/seperate queues for one customer - e.g memory consumption and higher CPU ussage (the understanding is that with more queues we should be able to handle more message processing pararrelly at the same time, and on top of that prevent queues clogging up due to system error exception).
    3. can we configure the message to be dropped/skipped on error instead of just hanging on the queues which stops other messages from going through?
    Thanks for your precious time.
    Ramesh

    Hi,
    I have multiple queries on Queues.
    Please provide valuable answers and receive good rewards:
    1. is it possible to seclude specific one group of business messages (x customer) to seperate queues? this is to ensure that our messages are secluded from other group of business messages(other y customer) and minimize the impact from each other. the existing setup is 10 queues for EOIO (each once in order) and 10 queues for EO (each once), 5 apart for inbound and 5 for outbound.
    2. what's the impact to hardware requirement if we're to configure more/seperate queues for one customer - e.g memory consumption and higher CPU ussage (the understanding is that with more queues we should be able to handle more message processing pararrelly at the same time, and on top of that prevent queues clogging up due to system error exception).
    3. can we configure the message to be dropped/skipped on error instead of just hanging on the queues which stops other messages from going through?
    Thanks for your precious time.
    Ramesh

  • Calculate distance between Latitude and Longitude

    Hi All,
    I have one Latitude and Longitude points. I need to calculate distance between them.
    Right now we are using HAVERSINE formula but the query takes longer time to complete.
    Reference: http://www.movable-type.co.uk/scripts/latlong.html
    Please assist on this.
    Thanks in advance.

    Check this link...
    http://www.mrexcel.com/forum/excel-questions/202255-calculating-distance-between-two-latitude-longitude-points.html
    I never did this before, but gave it a try using the formula mentioned in that link..
    Data:
                       Lat                      Long                               R =  6,371 (Radius of earth (approximated)) 
    Origin:        44.844263(B2)      -92.914803(C2) 
    Destination: 44.822075(B3)     -92.912498(C3)
    Formula used:
    A: =SIN(ABS(B3-B2)*PI()/180/2)^2+COS(B2*PI()/180)*COS(B3*PI()/180)*SIN(ABS(C3-C2)*PI()/180/2)^2
    B: =2*ATAN2(SQRT(1-A),SQRT(A))
    C: =R*B                  --->  DISTANCE!!!!
    WITH t AS
            (SELECT POWER (
                       SIN (ABS (44.822075 - 44.844263) * ( (22 / 7) / 180 / 2)),
                       2)
                    + COS (44.844263 * ( (22 / 7) / 180))
                      * COS (44.822075 * ( (22 / 7) / 180))
                      * POWER (
                           SIN (
                              ABS (-92.912498 - (-92.914803))
                              * ( (22 / 7) / 180 / 2)),
                           2)
                       E2
               FROM DUAL)
    SELECT (2 * ATAN2 (SQRT ( (1 - E2)), SQRT (E2))) * 6371
      FROM t;
    Check if this gives correct values... (I did not verify this properly.. ) And this is faster in my opinion..
    Please post your code for better suggestions from volunteers...
    Cheers,
    Manik.

  • How can I export 1080i in best possible quality for internet streaming?

    Sorry, I'm not too knowledgeable about this but I have Final Cut 6.0.4 and use/captured in HD-1080i. What's the best possible way to export this in great quality for internet streaming? What dimensions should I use? Any help would be extremely appreciated. Thank you!

    ok i used h.264 main profile with 10 mbps and i am using multipass and size is 1280x720. i tried 24 and 30 key frames. quality is still lower
    iv been experimenting on a 1.5 minute video to save time.  I imported the project from imovie into fcpx and changed nothing.  looking at the file that was created by imovie for the same video it is 1280x720 and uses codecs h.264 and aac the file size is 115 mb the extension is .mov and the color profile is HD (1-1-1) and total bitrate is 10,512 kbps. and the quality is the minimum acceptable for me.
    The file i created using your settings above in compressor 4 is 118 mb and of lower quality. codecs used are h.264, aac, and Hint (not sure what hint is but noticed it isn't used with the .mov file) color prile is the same as above. total bitrate is 10,405 kbps.
    Im not arguing that compressor 4 should be able to surpass imovie but so far i have only been able to do it by making the file size rediculous (>50 gb for 30 minutes).  I created a movie that was recorded with the same camera (25 mbps) 1080p 1920x1080. imovie made this 40 minute video just under 3 gb and with the same quality as the movie i am experimenting with.
    There is a differnce between theory and practice. SO FAR THE RESULTS I AM SEEING IS THAT IMOVIE IS SUPERIOR IN QUALITY TO SIZE RATIO. imovie has very few options but the hd setting has surpassed what i have been able to do with fcpx.
    i am willing to try any settings that anyone sugests.
    personally i think i will try to export the movie at max quality then take the super large file to my windows laptop and convert to avi.  as in the past i have had much success with that format using divx. i realize that that is not the best method but i don't really want to spend hours re editing this video with imovie since the source footage is about 10 hours.
    Thanks for trying still_learning but i am afraid you are still learning.

  • Best possible video connection?

    I am installing a Data projector in a store so they can play movies during store hours. I am wondeirng what the best possible way to connect a macbook to the projector so i can get the best possible picture quality. the screen is going to be 9X12 and the macbook is going to be located about 70' from the projector.
    thanks for your help

    It really depends on the input of the projector. The macBook has mini dvi out. Just determine what the projector has and get the appropriate adapter.
    Mort

  • Find driving distance between two points without using API by use of Lat & Long?

    Using Google geocode API : http://maps.googleapis.com/maps/api/geocode/xml?address=thane&sensor=true
    We performed get distance between search criteria entered by user and all related clubs by lat & long  stored at db.
    2. Two different points such as  
    (origin: Lat1 & Long1) and (destination: Lat2 & Long2)
    We tried for to get distance between these two points,
     (Lat2 & Long2) to (Lat1 & Long1)
    But distance which we get by calculation is simple straight line distance 
    Origin Destination
    (Lat1 & Long1) (Lat2 & Long2)
    3. This is not driving distance as google shows in exact Km
    4. For that Google provide another API (distancematrix API)
    http://maps.googleapis.com/maps/api/distancematrix/xml?origins=Thane&sensor=true&destinations=khopat&mode=driving&language=en%20-%20EN
    5. But there is limit for DistanceMatrix-Service without ClientID and client key
    100 elements per query.
    100 elements per 10 seconds.
    2 500 elements per 24 hour period.
    But as element request exceeds it shows : OVER_QUERY_LIMIT error  
    6. In case of Client ID and Client key
    In Distance Matrix 100 000 elements per 24 hour period,a maximum of 625 elements per query and a maximum of 1 000 elements per 10 seconds.
    As per this one there is option to get purchase these API but basic question is remain same for us if we are requesting single origin and multiple destination then how element calculation done by google?
    But in document google says :
    Elements
    The information about each origin-destination pairing is returned in an element entry. An element contains the following fields:
    Status: See Status Codes for a list of possible status codes.
    Duration: The duration of this route, expressed in seconds (the value field) and as text. The textual representation is localized according to
    the query's language parameter.
    Distance: The total distance of this route, expressed in meters (value) and as text. The textual value uses the unit system specified with the
    unit parameter of the original request, or the origin's region.

    Any information that you see in a google map webpage can be retrieved using the API.  The best way of finding the tags on the webpage is to manually perform the query using an IE webpage.   Then capture the source and save to a file so you
    can use a text editor to look at results.  I often on a webpage use the menu : View -  Source and then copy the source to a text file.
    jdweng

Maybe you are looking for