Determination the Direction and Borders problem

hi all
I Have Problem in How to determination the Direction And the neighbor For polygon As in the picture.
picture in (http://www.4shared.com/photo/CQhYa1LV/1_online.html?)
I Want determination :
From north : polygon with object Id=.....
From south : streets with object Id=.....
From east :streets with object Id=.....
From west : polygon with object Id=.....
I have Started and I Identified the Directions I get line of land with line 29 meters is the North
and line with 25.4 is south ......
Now how I can Determination the border of land ?
manes :
north ... land with number 2
south ... street with 15 meters width
Can eny one Help Or have Good idea ?

Some real data (ie the sdo_geometry of the polygon in the image) would be useful.
The main issue here is not so much the writing of the bearings and distances against the line segments,
but determining which segments should be so labelled.
I have dealt with the basics of extracting and marking polygon segments in in articles like this http://www.spatialdbadvisor.com/oracle_spatial_tips_tricks/74/spatial-pipelining before.
But this is roughly how I would go about removing those shared boundary segments so that I only had those segments that front a street:
select T_Vector(va.vector_id, va.element_id, va.subelement_id, va.startCoord, va.endCoord).AsSdoGeometry(null) as geom,
       codesys.Cogo.DD2DMS(
             codesys.Cogo.Bearing (va.startCoord.x,va.startCoord.y,va.endCoord.x,va.endCoord.y) * (180/codesys.Constants.PI) ) AS bearing,
       ROUND(codesys.Cogo.Distance(va.startCoord.x,va.startCoord.y,va.endCoord.x,va.endCoord.y),2) AS distance
  from source_table a,
       table(ST_Vectorize(a.geom)) va,
       source_table b
where a.<primary key> = <value>
   and sdo_covers(c.geom,
                  T_Vector(va.vector_id, va.element_id, va.subelement_id, va.startCoord, va.endCoord).AsSdoGeometry(null)) = 'TRUE'
   and c.<primary key> <> a.<primary key>;The COGO and GEOM package and the T_Vector object are available for download from my website.
In short you:
1. Take the base polygon;
2. Break it into 2 vertex segments;
3. Use each segment to find a polygon in the original table it lies on;
4. Ensure that the found polygon is not the same as the source of the segments;
5. Generate the bearing and distance.
regards
Simon

Similar Messages

  • HT4623 I have followed the directions and my iphone is not installing the iOS 7.0.2.  My iphone is plugged into my lap top that has the most recent version of itunes.  It is a dsl connection.  Is that my problem?

    I have followed the directions and my iphone is not installing the iOS 7.0.2.  I have the most recent version of itunes on my laptop commuter.  my iphone is attached to my laptop via usb port.  The laptop uses dsl not wifi.  Is that my problem?

    Exactly what version of iTunes are you running? And DON'T say 'the latest version'... CHECK the version number. You need to be running 11.1 or higher.

  • It keeps giving me an error message when I go to download my purchases. I follow the directions and it just keeps giving me the same error. What do i do to get the songs

    It keeps giving me an error message when I go to download my purchases. I follow the directions and it just keeps giving me the same error. What do i do to get the songs?
    It just keeps telling me they were inturupted but i didnt so anything. I want the songs I paid for.

    Yes its been cleaned out, i have tried many different things to try an fix it but still nothing. i just can't understand how it can be working perfect 1 minute then not working the next minute.  seems to be a common problem with no real solution.

  • What determines the price and tax for consignment stock?

    Hi All,
    anyone knows how the price and tax are calculated for consignment stock? in other word, among the info record , contract or material master, what determines the price and the tax calculation for consignment stock?
    please advise, your input will be rewarded.
    thanks,

    Ravi,
    I have almost same Nancy's problem. I change tax code indicator on ME12 from N0 to N2, after that, I made the invoice verification on MRKO for a consignment material, however tax code N0 (original) was taked for the withdrawal.
    I followed up notes:
    Note 87860 - Consignment: determining tax code as of 4.0
    140675 - Consignment: Determination of tax code transition
    But these notes doesn't apply for 4.7. Do you know any note that apply on this version?
    Thanks in advance.
    Myriam

  • TS1489 My songs won't play on Windows 7 version of iTunes. Everything on my PC is up to date. Windows Media Player works fine. I followed the directions and nothing has changed. I have already tried to re-install iTunes but that hasn't worked either.

    My songs won't play on Windows 7 version of iTunes. Everything on my PC is up to date. Windows Media Player works fine. I followed the directions and nothing has changed. I have already tried to re-install iTunes but that hasn't worked either. If anyone knows how to solve this problem please E-Mail me at [email protected] or reply to this message.

    Itunes worked after reseting my computer to factory setting however had trouble again after syncing my iPod and iPod shuffle. Is this a coincidence or could it be the cause of the problem?

  • What determines the price and tax calculation for consignment stock?

    Hi All,
    anyone knows how the price and tax are calculated for consignment stock? in other word, among the info record , contract or material master, what determines the price and the tax calculation for consignment stock?
    please advise, your input will be rewarded.
    thanks,

    First preceeding is taken by contract and then info records of consginment

  • Where can I get an Html error report of all the syntax and tag problems?

    Where can I get an Html error report of all the syntax and tag problems?

    Thank you for your answer.
    Where is the DW validation for me?
    My files are in my computer so I don’t have an external URL.
    File > validation > as xml = closes DW... Maybe because it is not a correct command for HTML,
    And
    Window > results > validation = gives a partial mistakes (e.g. shows an open tag without closing tag, but doesn’t show a closing tag without an open tag).
    Thank you.

  • How to determine the Country and Organization from IP

    Hi,
    I would like to determine the Country and Organization from a given IP. I have to write a JSP, which when given the IP address gives the country and the organization to which the IP belongs. The organization may be the ISP, or a MNC or any other corporate/government body, or it may be of an individual. I have to do it progamitically from inside a JSP?
    Any suggestions anybody
    Thanks in Advance for your reply

    even when tracking IP's, if it is static you can narrow it down pretty far - if it's dynamic, you can only narrow it down to a specific part of the country.

  • How can I determine the number and sizes of redologs?

    Dear all,
    How can I determine the number and sizes of redologs are sufficient to allow redo log switching while hot backup is in progress?
    Please advice,
    Amy

    Two questions here - what the OP put as the subject title and what was asked in the thread, which are different questions.
    I would interpret the question in the thread to mean "how to avoid hanging due to archiving waiting for a redo log group to become available." Alert log, wait events, and user complaints would be the source of information here.

  • What r the direct and indirect taxes

    hi gurus,
    can any one pls give me what r the direct and indirect taxes.
    Thanks in advance,
    RAVI
    Moderator: Please, respect SDN rules. As it's not your first warning, upon next violation your user will be banned

    Hi,
    the Tax tht we Pay directly to Govt is Direct tax and tax tht we pay indirectly is Indirect tax. Ex. Income tax on  salaries is direct tax and Sales Tax on Products is a indirect Tax.
    Hope you got clarify on the Both type of Taxes.
    Thanks
    Goutam
    Edited by: Goutam78 on May 27, 2011 3:07 PM

  • HT3281 I have downloaded many podcasts but cannot get any to transfer to my iPod or iPad.  I have followed all the directions and am getting nowhere.

    I have downloaded many podcasts but cannot get any to transfer to my iPod or iPad.  I have followed all the directions and am getting nowhere.  There has to be an easy way to download these to either device.  Suggestions?

    http://support.apple.com/kb/HT3281
    Peace, Clyde

  • A few months ago I bought an imac 27 inch late 2013 ... ever since I have continuously problems with my external HDD that disconnect all the time and cause problems in other software (Lightroom, Adobe PS CS6) ...

    a few months ago I bought an imac 27 inch late 2013 .. §16GB - and flash memory) - 3,3 Ghz Intel Core 15
    ever since I have continuously problems with my external HDD that disconnect all the time and cause problems in other software (Lightroom, Adobe PS CS6) ... it is not  a HDD problem, because it occurs with my 3TB WD HDD (Time Machine), my 1TB WD and  1TB IOMEGA
    any one have a solution? anyone dealt with this problem in the apple care program?

    You are still under warranty and/or have AppleCare.  Call them.  Let them deal w/it.

  • I HAVE THE POP AND CRACKLING PROBLEM FIX FOR ME ANYWAY..

    my set up is......
    asus

    okay sorry....
    my rigg....asus a7v8x-e deluxe...
    athlon barton xp 2800(@ 2.56)
    gig of corsair 3200 dual chan...
    WD. cavalier 80 gig HD
    BFG 6800 gt oc
    audigy 2 zs.......
    antec 480 true blue
    oh yeah cooling my cpu with a torando 7!!!!thats a cooler for a 2600+ ha ha i win........
    any way the "FIX" i found is too turn the master volume down via the keyboard or the audio setting in control panel.....put it at 50 or 60 % and boom....no pops no cracks...and i can turn the volume up on my speakers as loud as i like....now granted no super loud gaming but if i turn my speakers all the way up its too loud to sit there anyway so no loss...and i did crank them up and leave the room and no cracks or pops at all with CALL OF DUTY OR MOHPA OR ROME....so i hope this helps someone else....
    SEEMS to me many with my MOBO asus a7v8x variations are having the pop and crackle problem....
    sorry if my explanation is confusing but im good at fragging not english....any questions reply i will check back.....
    OH YEAH i have a question too....by turning the master down to 50 or 60 % am i losing any audio Quality this way? seems to sound good in EAX 3 so..... just curious....

  • Hw can I determine the pitch and tempo to be set for a song?

    I want to know how to determine the pitch, tempo, scale for any song in Garage band.
    My problem is this: I have ready with me a number of songs which I have composed, but I do not know what their musical attributes are...having received no training in music! Whenever I open a new project in GB, I have to set the pitch and tempo for the project beforehand itself...am asked to do so. This makes it impossible for me to try out the music at different pitches and tempo to determine what is required for any song.
    I hope I am making myself understood and hope to get a solution...[and, no, Iam not minded to go and join music classes!]
    Thanks in advance.

    Thanks for all this information. I can only vaguely understand what you have outlined.
    I am sorry - it is difficult for me to explain, if I cannot assume that you have a musical training.
    Is the first step you have asked...'using the tempo and key settings of another of my songs' a necessary one? Can I go ahead with the rest of the steps omitting the first?
    You have to set some values for tempo and song key. Finding a song, that is similar to a new song you want to create, and were you have written sheet music with  the song key and tempo  would give you a good first guess for the values to pick. But go ahead and use the default settings of GarageBand.
    Then you can add rhythm loops (drum loops from the loop browser) to generate an accompaniment conforming to the tempo you found.
    That is what I tried to describe in the second half of my post: A click track is a track similar to a metronom. You sound out the beats of your song by clicking or clapping and record this as a "click track". Adjust the Master Track "Tempo" automation curve, so that you will have four of your or claps in each measure. This way GarageBands tempo setting will follow the tempo of your song.
    Now you can drag loops from the loop browser to create an accompaniment. It will follow the tempo changes. I suggested the drums or other percussion instruments, because for these instruments the song key will not matter.
    How to adjust the Master Track Tempo:   From the "Track" menu > Show Master Track; then set the Pop Up menu in the Track Head to "master Tempo".

  • HT201272 wait just to be sure i am not the only one who has the "term and conditions" problem

    wait just to be sure i am not the only one who has the "term and conditions" problem

    Go to Crucial.com and use one of their two methods to determine what upgrades are available for your Mac:
    I would purchase the modules from Crucial as they are very reliable and wiill work with you if you have problems.
    OT

Maybe you are looking for

  • How to modify default Space Around Component in NetBeans 6.0?

    Hi, Does anybody know how to modify the default Space Around Component in NetBeans 6.0? I use Panel and either they stick completely to the border or stand too far. I can't find any options to modify this in NetBeans 6.0. I have tried using the 'Spac

  • Problem in Using Mass Data Getlist.

    Hi All, I am using a "Mass Data" Getlist for Salesorder. there are nearly 8000 records in VBAP table wich I want to bring it in Batches of 1000. I have modified my Getlist to the requirement as given in the document [http://www.sdn.sap.com/irj/scn/go

  • IP ADDRESSING FOR THREE SITES .

    HELLO, I AM HAVING THREE SITES HEAD OFFICE WITH ROUTER,FIREWALL,SWITCHES,SERVERS & PC'S AROUND 80-120 NODES. TWO REMOTE SITES WITH ROUTER,SWITCH & PC'S AROUND 40-50 EACH SITE. AND ONE WAREHOUSE WITH THREE PC'S. PLEASE HELP ME WHICH CLASS IP'S TO USE.

  • How to use Query Builder in Oracle10g

    Since I'm new to Oracle , thus I'm facing some problem in some portions. When I went through the Query Builder option, actually I was not able to build the query as some of the features present in it were not clear to me like the "Condition" part and

  • What MSOSA, and MGMTVIEW  accounts are for?

    Hi there, Could somebody tell me what MSOSA, and MGMTVIEW accounts are for on Oracle 10g db? Thank you in advance for your prompt response.