Using property with geocode in record filters/range filters

Hi All
We have created a property called "Location" with data type as "Geocode" and we are able to use the same in sorting.And ,this will generate two dynamic properties by name "Kilometers_to_Location and "Miles_to_location".Is there a way to use these dynamic properties in our record filters or range filters?We have requirement to filter products based on say within 100 kms, 1000kms from the user's location and not just sort based on this.
Any suggestions/help is appreciated.
Regards
Shreyas

Hi Shreyas,
Does this help:
http://docs.oracle.com/cd/E37502_01/server.751/es_dev/toc.htm#Geocode%20filters
Quoting from the link above:
Geocode filters
When used with a standard attribute of type geocode, the EQL DISTANCE function indicates a filter based on the distance of that geocode attribute from a given reference point.
The DISTANCE function returns the distance (in kilometers) between two geocodes. The syntax for DISTANCE is:
DISTANCE(geoAttribute, TO_GEOCODE(latitude,longtitude))
where
geoAttribute
is a standard attribute of type geocode. The
TO_GEOCODE
function creates a geocode from a given latitude and longitude pair, both of which must be of type double:
The latitude of the location is specified in whole and fractional degrees (positive values indicate north latitude, and negative values indicate south latitude).
The longitude of the location in whole and fractional degrees (positive values indicate east longitude, and negative values indicate west longitude).
Note that distance limits in geocode filters are always expressed in kilometers. The records are filtered by the distance from the geocode reference point to the latitude/longitude pair.
Julia

Similar Messages

  • Can I use Solaris with my Home Recording Studio?

    Hello,
    I am currently building a basic home recording studio. I recently assembled a new computer and will be purchasing music recording equipment very soon. Before I purchase the audio recording gear, I was curious about a few things pertaining to the use of Solaris as my possible choice system.
    The data that I store on my hard drives will need to be secure. I had originally considered RAID 5 though recently found out about RAID Z, which appears to be far ahead of the other RAIDs. I am curious to know more about how to set up a RAID Z system.
    The computer will be running Solaris, various Linux or BSD, and Windows Vista. I have 500GB x4 hard drives. I am considering separating one and using it strictly for Vista, and using the remaining 3 with a RAID set-up for nix. If I had a choice, I would put much less hard drive space into Vista (capping it at 150 to 200 GB), though I have yet to come across a RAID system that effectively or efficiently cooperates cross-platform. With that in mind, the majority of the remaining 1.5TB can go into my studio OS - hopefully Solaris - while left-over hard drive space is set aside for various other *nix.
    I've used Solaris 10 before, though haven't really gone into detail on the mechanics of such features as ZFS, zones, now RAID Z, and the many more amazing features that Solaris provides. Likewise, I am not really familiar with how well the system might operate with software/applications that I could use for recording and composing music.
    Beyond the available 2TB (or 1.5TB RAID-ready) space, my computer is running on a new 64-bit quad-core AMD CPU (~2.6GHz) and currently has 4GB 1066MHz RAM. In my search for preparing a computer that suits me for high performance recording - including the editing and mastering of audio - I am attempting to narrow down my options on the software side of things. I have been very satisfied with the general file management of Solaris, though am unsure of how well it might run as the software side of a home recording studio. An additional factor in deciding will be the software's compatbility with audio PCI cards and external recording/audio interfaces. There is always a question of whether or not the necessary drivers, firmware, or similar is available between any given hardware and software components.
    Some other *nix options I have considered - "Ubuntu Studio 64-bit" (though it appears to prefer 32-bit) and "64 Studio" (also Debian-based, though appears to be optimized for 64-bit). Some colleagues have used Gentoo with studio applications, though I don't know of any Linux distributions that offer the versatility, power, stability, and efficiency of Solaris for the operating system that it is.
    If I use something like "64 Studio", I will have the advantage of a system that is ready-built for studio recording purposes as well as a system that I know is compatible with the sound gear that I am considering purchasing. However, those systems are restricted by their file system types, RAID availability and dependability, and the general disadvantages of using the Linux kernel in general. (I enjoy Linux, though I admittedly prefer Unix over it.)
    Can I use Solaris with my home recording studio?
    Thank you!
    Edited by: the_professor on Nov 9, 2008 6:26 PM
    Corrected a typo.
    Edited by: the_professor on Nov 9, 2008 6:30 PM
    Caught another typo.

    I'm not sure what your question is. If you have particular software you want to run, you should see what you can get that package to run under. Sound hw stuff don't tend to be too portable unless it's written on top of OSS (htttp://www.opensound.com). Were I you, I'd consider separating out the storage part and the processing part. Get something like a cheap dell sc440 to be a file server and give the drives to that (unless you actually can get all the components working under solaris).
    -r

  • Help, using Mic with runtime to record on flash

    So ya I posted something earlier and I made it to open, what
    I meant was I need help recording on flsh with the runtime, with my
    mic, sorry for the confusion

    Hi Chris,
    It seems that the Fusion is one of those that can be OS 10.4.9 (USB Video Classs) compliant or not depending on serial number.
    See here http://en.wikipedia.org/wiki/Listof_USB_video_classdevices
    Now this would mean that it may work if the iChatUSBCam utility is disabled.
    This also means deleting com.apple.ichat.plist as this stores the Camera/Utility info.
    The same is true of the ioxperts drivers
    5:10 PM Wednesday; May 30, 2007

  • How to Use Step with Filters in Eclipse

    Hello, everyone!
    I have a question. How do I keep myself from accessing methods outside my own class? See, when I use the debug feature of Eclipse, (I am using Eclipse 3.0), and start debugging, I often "Step Into" methods of classes like String.class and the like. Doing so produces errors that I need to click on to for numerous times! =( It hinders me from doing what I want to do. Can anyone help me? How do I prevent Eclipse from doing that again? After all, my only concern is seeing the methods I wrote in action, and I don't really want to bother with the ones already defined in Java (like Integer.Class and such).
    I also did a search on google, but the sites that turned up are only those that say Use Step with Filters, and nothing specific (most of them are copy-pastes, so different sites end up saying exactly the same thing ). I did that already, and the same thing happens. What do I have to do in
    Window->Preferences->Java->Debug? Do I have to add packages, classes or filters? If so, how should I do it?
    Sorry for the long entry, but I'm getting frustrated with clicking on the errors... I hope someone can help me. =)
    Thanks in advance! =D

    Go to Window-Preferences-Java-Debug-Step Filtering. When the dialog opens, press F1 for help. Good luck!

  • Uses for the Action Property with SQL and Oracle DB Adapters

    This thread is a complement to the Wiki Article
    BizTalk: Streamlining WCF SQL and Oracle Messaging-Only and Other Patterns
    The question.  In what circumstances is explicitly setting the Action value with the WCF SQL and Oracle DB bindings useful or beneficial. 
    A complimentary question.  Is it even possible to set the Action value to anything other than exactly what is required by the Message.
    I ask because of three very specific behaviors of the bindings themselves:
    The binding enforces a match between the Action and the Message, therefore...
    There is a one-to-one relationship between the Message and Action, but...
    The binding is able to correctly derive and perform the requested operation with the unspecific CompositeOperation.
    For clarity, I understand how to set the Action. I. understand what the Action represents in the SOAP scheme. I understand how Action can be used as an abstraction for SOAP operations.
    Thoughts?

    Do you have any good suggestion to learn how to use action property with SQL and Oracle DB adapters?  I learn a lot from your replies for years in BizTalk forum. :)

  • How to use warn about changes property with page menus

    how to use warn about changes property with page menus

    Hi,
    If u will enable this property, then u will get warning message as a popup in case of change of state of VO.
    Regards,,
    Gyan

  • Just bought a new iPod touch 16G - I think it's a 5th gen. - I used my old iPod to record rehearsals.  The new one is stating that my Belken mic is not compatible.  Can I record with this new one?  If so, what do I need for a mic?

    Just bought a new iPod Touch 16G - (I think it's a 5th gen.).   I used my old iPod to record music rehearsals.  This new iPod is stating that my old Belken mic (with new adaptor) is not compatible.  Does this new iPod Touch have ability to record audio?     If so, what do I need for a mic??

    Thanks very much!   I found the app, tested it, and it sounds fairly lifelike.    Big help!!

  • Using Property Loader with Renamed Steps

    If I have a test step in a loop where the step is renamed using RenamePreviousStep after each iteration, is there a simple way to use Property Loader to load test limits corresponding to the dynamically changing test name?
    The only way I have found to do this so far causes errors at runtime on the non-existent step names in the file which have to be ignored. Also it is not very slick to call PropertyLoader every time the loop iterates.
    Is there a more elegant way to load limits for steps which "don't yet exist"?

    How do you organise your limit file.
    Do you have a different Start/End Marker for each of your iterations
    so that you have the correctly named step(s) between the markers?
    You could try loading an array of limits into a local array(s) from
    your Limit File then index through the array as the datasource for your
    limits. Remember its a PropertyLoader, so its not limited to just
    limits. That way you only read it once and you are not tied to the Step
    name.
    I originally had all limits within a single Start-End marker pair. Having now given each limit set an individual Start-End marker and setting PropertiesListSource dynamically in the Loader Step in the loop, that works OK.  Perhaps not so elegant still as each iteration of the loop requires a Property Loader step instead of loading everything in one hit (I'm guessing there has to be some performance overhead in multiple property loader calls vs. a single load of all limits) but at least there are no errors on the loader step now I am only loading that test which exists after the loop rename.
    The alternative of loading data into arrays had ocurred to me and I may experiment with this if performance becomes an issue with the first approach.
    Thanks for your reply Ray, its much appreiated.

  • Use DISTINCT with two fields to return one record

    I am using OleDB with a SELECT DISTINCT query that is used in C# code to populate a DataGridViewComboBox.  The queried table has two fields: ID and Description. The ID field values are unique. Descriptions may be duplicated. The DataSource of my DataGridViewComboBox
    is ListBoxItems which is a ListBox that is populated from a table. The ValueMember is ID and the DisplayMember is Description.  A sample table might look like this:
    ID    Description
     1     Blue
     2     Blue
     3     Red
     4     Blue
    I want my query to return two records; one for the Red description and only one for the Blue description.  I don't care which Blue description it returns, but I do need the corresponding ID for the selected Blue record and the ID value for the Red record. 
    Using SELECT DISTINCT ID, Description FROM... would give me four records instead of two.  How can I return only two records in this scenario?
    Rob E.

    Using window function:
    create table #temp
    ID int,
    description varchar(20),
    insert into #temp Values(1,'blue')
    insert into #temp Values(2,'blue')
    insert into #temp Values(3,'red')
    insert into #temp Values(4,'blue')
    ;WITH CTE AS (select RN=ROW_NUMBER() OVER (PARTITION BY description ORDER BY newid() ),
    ID,description from #temp)
    SELECT ID, description from CTE
    WHERE RN = 1;
    ID description
    4 blue
    3 red
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Retrive records using ODATA with SQL functions

    Hi,
    I want to use SQL functions (for instance replace function) while retrieving records using ODATA endpoint using javascript. Like this:
    parent.SDK.REST.retrieveMultipleRecords(
    "$select=AccountId,Name,Telephone1&$filter=" + "replace(Telephone1,'-','') eq '12345678'",
    function (accountresults) {
    errorHandler,
    function () {
    But this is ending up with 404 bad request. Is there any way to achieve the same using any other technique?
    blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk

    ODATA only supports simple comparison operators, and startswith, endswith and substringof. There are 2 approaches you could use without modifying the data:
    Have a less selective filter in ODATA, then filter the rest of the data in javascript. In this example, you could use ODATA to find all records where the telephone1 field has each of '1', '2', '3' etc, then use javascript to do the replace comparison. It
    depends how many records you have as to whether this is practical
    Write a plugin on RetrieveMultiple that applies the functions you want. This is not necessarily simple, and you'd need to determine how you identify in the query that you want to use a function like replace
    Another option could be to use a plugin when data is saved to strip out the characters you don't want, and store the results in a different field that you could then query on
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Record filtered in advance as error records with the same key exist

    Dear Masters
       I am getting below error for master data (0MATERIAL_ATTR), while loading data from PSA to Info object through DTP (I have set the Handle duliocate record also). When I checked that error data in Error Stack, I am getting below error for all records(100)
    "Record filtered in advance as error records with the same key exist"
    Could u please help me to resolve this issue
    Thanks in Advance
    Raja

    Hi
    Thanks for reply
    I have loaded the Delta data in PSA. In PSA data was loaded successfully. I got the failure only when I loaded the from PSA to Maste data
    Thanks in advance
    Raja

  • Can I use the airport express as a repeater/range expander but without being connected to the modem with the ethernet cable?

    I have a mac pro (2010 mid) to set up the airport

    My 2003 Airport Extreme I guess does not provide this "enable extension of other Wireless Device" option in Airport Untility under "Wireless",  because it is too old?
    Correct. You will need one of the "square" AirPort Extreme versions if you want to do this.
    Another question, do I need to buy a new Airport Extreme to be able to extend my Wi-Fi signal with the New Airport Express I just bought?
    Yes, or another new AirPort Express. But, you cannot connect a hard drive to an AirPort Express. You can with an AirPort Extreme in case you were planning to add a hard drive.
    One last question, I believe I understood that if I have the new Airport Extreme and use it with my Airport Express to extend the Wi-Fi Signal, I will be able to do this without my DSL Ethernet cable connected to the Airport Express?
    The DSL cable will need to be connected to the AirPort that you designate as the "main" router on the network....assuming that you want to be able to connect to the Internet.
    The other AirPort will connect using wireless only....assuming that it is located where it can get a good wireless signal.

  • I just purchased Duet 2 and am using it with Garageband 11. I am getting iTunes playbacks through the headphone monitors with Duet 2 but can get no guitar or vocals recorded.  I get no volume

    I just purchased Apogee Duet 2 and am using it with Garageband 11. I am getting iTunes playbacks through the headphone monitors as per quick startup directions. When I open Garageband I get the same identical stack of guitar and on pedal displayed.  I get no sound from the guitar.   I believe I have the set up exactly as per diagram and cannot figure things out.  I am relatively green at this - my best intentioned purchase now feels like a nightmare!!  Help!!

    Yes, you can upgrade to Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
    http://support.apple.com/kb/DL1399
    Check via Software Update whether further updates are required.

  • How to find the records using contains with the word like this 'some text-some text'?

    Hi,
    How to find the records using the full text contains keyword and that column contains ‘some text-some text’
    In the above some text can be anything.
    Does anybody know please let me know.
    Thanks,

    Hello,
    You can try to create a Full Text Index on the table and use CONTAINS() to get the record which contains the specify words.
    For example:
    SELECT * FROM TABLE WHERE CONTAINS(column_name, 'some text')
    Reference:
    Full-Text Search (SQL Server)
    Creating Full Text Catalog and Full Text Search
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Document properties aren't syncing up with SharePoint in Record Center Libraries

    In a record center's document/record library, I'm not able to link word document properties with sharepoint item attributes using "Quick Parts" as I can with Document Libraries.
    Could this be because of a separate issue with how the Record Center handles properties?

    Hi Dnerd,
    We have found this issue. We can reproduced this issue as the followings:
    Create a Team site, create a document library
    In the library, create a column called Test1, then upload a document to the library
    Open the document with office app. In the Quick Parts->Document property, we can find the name of the custom column Test1
    Create a Record Center, create a custom column Test2 in Record library, then upload a document to the library
    Open the document with office app. In the Quick Parts->Document property, we can not find the name of the custom column Test2
    Then create a new library in the Record Center, and create a column for the library. Do a same test, the result is same with the result in Record library.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Photoshop cs3 crashing continuously

    Hi! Here's my error message in Photoshop - it's been happening for more than a week - several times a day. This is a microsoft error message: Adobe Photoshop CS3 has encountered a problem and needs to close. We are sorry for the inconvenience. I'm on

  • Connecting to an internal HD

    I am going to replace my internal HD with a 120 GB HD. After I install it I want to transfer stuff from the old HD to the new HD. Is there any cable that will connect the old HD, (now outside the computer) to a USB or Firewire port? Mark

  • DSN report type

    I want to get the report type of a DSN message if it is delivered or failed receipt. There is internet header called "Action" it gives that information. getHeader("Action") returns "delivered", "failed".... But to reach this header I have to open mes

  • Asset DEPREICIATION IN SPECIAL POSTING PERIOD

    HI Gurus, Please give me an advice Do you have any idea why the depreciation is posted in period 13 where it should be in period 12?? I appreciate you response Thank so much

  • Why is the Adobe Media Encoder CS5 extending the duration of my video?

    Adobe Media Encoder CS5 takes my (7) second MPEG video and converts it into a (3) minute FLV file. Why does the encoder do this? Why can't I change the video duration?