Retrieve part of the dataset, not the entire set

Hi all.
Am currently conducting a research project regarding location based services using Oracle and Java. I have got some datasets for the map of adams county in the US. Currently working with Mapviewer and JDeveloper. I have created a datasource in mapviewer to retrieve the data from the database. but now when i get the image of the map it displays the entire map of the county. i also have a user location function where the user types in their lat/long location and it centers the map to that location.
But what if at every user request instead of loading the entire data i only want to retrieve a small amount of data around the user's location? is that possible in mapviewer? Any help would be greatly appreciated.
Avinash

Hi Avinash,
You can define a MapViewer request with a query window and then just the data inside this query window will be selected. For example, the following map request has the <center> tag, that defines the center and the map size (height).
<?xml version="1.0" standalone="yes"?>
<map_request
  <center size="5">
    <geoFeature>
      <geometricProperty typeName="center">
        <Point>
          <coordinates>-90.0,32.0</coordinates>
        </Point>
      </geometricProperty>
    </geoFeature>
  </center>
</map_request>On MapViewer's Users Guide you will find some other examples. You can also develop programs using the java API which has methods to set your request window (such as setCenterAndSize and others).
Joao

Similar Messages

  • Customizing the blog post web part to not show entire entries

    I have a blog site, and as you know, the posts web part shows the entire contents of each listed post, rather than one paragraph, followed by a "click here to read more" link.  I know that there is no out-of-box functionality for this, because of course,
    why would there be? Who needs nice looking blogs?  Anyway, I found this on the internet:
    http://zabistop.blogspot.com/2009/02/customizing-sharepoint-blog-posts-web.html
    It knows what's up, but it's outdated and the code doesn't mesh with what I have. Are there any articles similar to this online? I can't be the first person who thought of this, and doing it from the ground up is not an option. I appreciate any help.

    In 2010 you can make the same changes using a similar method.
    Open the default.aspx page, in code view click in within the blog area. In the ribbon click on the List View tools >design. Click on Customize XSLT in the Actions panel. When you do that you will be able to see all the code.
    Find this line of code <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
    Approx line 402. It actually looks like   </xsl:template><xsl:template name="FieldRef.... so you will have to place your cursor after the template close and hit enter a few times to make space for the code.
    Directly above that line, where you have added spaces, include this code. (I cheated and grabbed this code from another site where we did the same thing - and was able to modify it slightly to work for the blog.)
    <!-- used to strip out HTML from passed-in field -->
        <xsl:template name="removeHtmlTagsFromField">
         <xsl:param name="html"/>
         <xsl:choose>
             <xsl:when test="contains($html, '&lt;')">
                 <xsl:value-of select="substring-before($html, '&lt;')"/>
                 <!-- Recurse through HTML removing all markup -->
                 <xsl:call-template name="removeHtmlTagsFromField">
                     <xsl:with-param name="html" select="substring-after($html, '&gt;')"/>
                 </xsl:call-template>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:value-of select="$html"/>
             </xsl:otherwise>
         </xsl:choose>
     </xsl:template> 
    Next below the line ( should be the next line below the pasted code)   <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
    Locate the       <xsl:param name="thisNode" select="."/> and paste the following code:
      <!-- call "removeHtmlTagsFromField" template to strip out html markup from the field -->   
     <xsl:variable name="textOnlyDescription">
         <xsl:call-template name="removeHtmlTagsFromField">
             <xsl:with-param name="html" select="$thisNode/@*[name()=current()/@Name]" />
         </xsl:call-template>
     </xsl:variable>
    I have already swichted out the select content with the content that was in the xsl line that renders the body content.
    Locate the code  ( should be 2 lines down)     <xsl:value-of select="$thisNode/@*[name()=current()/@Name]" disable-output-escaping="yes"/>
    Comment the code out and replace with the following code:
          <xsl:value-of select="substring($textOnlyDescription, 0, 320)" disable-output-escaping="yes"/>
          <xsl:if test="string-length($textOnlyDescription)>320">...</xsl:if>
    Change the number to your desired length.
    Save your file.
    You can revert the file if you ever need to, after its checked in, by right clicking on the page and selecting reset to site definition. 
    Hope this helps. I plan on doing a post shortly covering this and will have screen shots.
    Heather Waterman SharePoint Desginer www.heatherwaterman.com

  • Legal to use iWork '09 from box set without the box set?

    I purchased iWork '09 from the Mac Box Set off of ebay. It was for only the iWork software and not the entire set. The seller is telling I can legally have this software installed and use it even though the bx set comes with one serial # for all software included in it.
    I did find a post on a different forum that states it is illegal to sell parts of the set separately. Is any of this true? Am I okay to have this software or should I return it? I am worried since I have a business which will use this software and just want to make sure there is never a chance for repercussions in the future.
    Thanks

    Yep. One of the reasons to be quite careful about dealing on eBay. Here's what's provided at the online store:
    The Family Pack Software License Agreement allows you to install and use one copy of the Apple software on up to a maximum of five (5) Apple-labeled computers at a time as long as those computers are located in the same household and used by persons who occupy that household. By “household” we mean a person or persons who share the same housing unit such as a home, apartment, mobile home, or condominium, including students who are primary residents of that household but reside at a separate on-campus location. This license does not extend to business or commercial users.

  • My Photoshop CS 5 has some strange actions when I copy a portion of a photo using the clone stamp  to transfer to another part of the image. It carries the entire layer (not just the stamps selection) across the screen and I cannot place it where I need t

    My Photoshop CS 5 has some strange actions when I copy a portion of a photo using the clone stamp  to transfer to another part of the image. It carries the entire layer (not just the stamps selection) across the screen and I cannot place it where I need to. It appears as if I selected the entire layer on purpose (which I did not)
    The below items appeared when I opened Photoshop CS 5:
    “Photoshop has encountered a problem with the display driver and has temporarily disabled G & U enhancements. Check the video card malfunctions website for latest software. GPU enhancements can be enabled in the performance panel of preferences.”
    (I believe this started after the automatically updated Windows was applied. It was coincident with the before mentioned problem . . . but I don’t really know if it had anything to do with it. )

    For the Clone Stamp problem, check the Clone Source panel and Clipped is probably unchecked.
    If so, check Clipped and see if that makes a difference.
    (Window>Clone Source)
    As to the video card problem:
    Which version of windows are you using?
    What is the make and model of your graphics card?
    Do you know which update windows installed?

  • How can I sort a colum for a part off the sheet? Not for the entire shett!

    I only want to sort a part of the sheet. If i sort the colom it always takes the hole sheet. How can i only sort a part of the sheet. Please help me!

    Guido,
    It is not possible to sort just one column of a table, independent of the other columns.
    The solution is to pull the column you wish to sort out of the table, sort it, and put it back into the table.
    To remove a column, Click on the column label to select the entire column. Then grab the title and pull up and away from the Table and drop it on a blank area of the Sheet. To put the column back into the table grab it by the title and hover over the main table, moving slowly until a double vertical line appears where you want to place the column, and let it drop there.
    Jerry

  • Send part of audio file, not the entire file, from FCP to STP

    Is there an easy way to send only part of an audio file to STP as an audio file project from FCP 5.1.2?
    Everything that I've tried so far always sends the entire audio file for processing in STP.
    1) using the blade tool to slice the audio
    2) creating a subclip of a piece of audio
    3) setting in/out points in both the timeline and the viewer
    I realize that I could export the piece of audio and then import that into FCP and then send that to STP, but that is a lot of work.
    Is there an easier way?
    Thanks,
    Richard
    G5 Dual 2 gig   Mac OS X (10.4.8)   4.5 GIGS RAM

    Maybe one of these work:
    * LeechBlock: https://addons.mozilla.org/firefox/addon/4476
    * BlockSite: https://addons.mozilla.org/firefox/addon/3145

  • Want to know bow to block part of a website, not the entire website.

    I am aware how to block entire websites through the host file or through extensions, but I've looked all over google and can't find a way to just block one specific url. I don't want to block the entire site, I just want to block one page on that site. If anyone out there has figured out a way to just block a specific url within a website and not the entire website, I'd be happy to hear from you :)
    == This happened ==
    Every time Firefox opened
    == forever

    Maybe one of these work:
    * LeechBlock: https://addons.mozilla.org/firefox/addon/4476
    * BlockSite: https://addons.mozilla.org/firefox/addon/3145

  • Why will some website articles not print preview or print more than part of the document in firefox. I sometimes have to go to IE to be able to print the entire document.

    I often want to print an article from a website. Many times when I print preview, it will only show the first, second and maybe last page, but nothing inbetween. I have tried printing it anyway but nothing inbetween will print. My solution has been to go to Internet Explorer where I have then been able to print preview and print the entire article. This is annoying and takes extra time. Is there a setting that I need to make in order to eliminate the problem

    Top left (Orange) Firefox button, Print, Print Preview. Does everything look correct? You may also click the icon that looks like a "DISK" to save, which allows you to save it to your computer and CTRL+P will allow you to print.

  • SSIS File System Task Move File Could not find part of the path error

    Hi All,
    I am getting error in production when try to move files from one folder to another folder. But on Dev environment working fine. 
    An error occurred with the following error message: "Could not find a part of the path 'C:\Archive\ABC.txt'
    My package configuration details.
    1) For Each loop Container 
               Prop’s:
    Enumerator: For Each File Enumerator
    Folder: C:\
    Files: *.txt
    Retrieve File name --> Fully qualified 
    In Tab Variable mapping: User::name --0
    2) File System task
    Props:
    Destination Connection: c:\archive\
    Overwrite destination: True
    Operation: Move file
    Is Source Path Variable: True
    Source Variable: User::name
    Please share your suggestions on this.
    Regards,
    Vaishu

    Hi Vaishu ,
    Try below links :
    http://www.allaboutmssql.com/2012/09/sql-server-integration-services-rename.html
    http://social.technet.microsoft.com/wiki/contents/articles/18776.ssis-move-a-folder-from-one-drive-to-another-drive-using-the-file-system-task.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • I purchased a album and only the first part of each song plays, even though the entire length is listed  in the file properities. Any Ideas?

    I purchased a album and only the first part of each song plays, even though the entire length is listed  in the file properities. Any Ideas?

    Assuming you are in a region where you are allowed to redownload your past purchases, delete the current copies from your iTunes library and then download again from your purchased history. If the problem persists, or that facility is not available in your region, contact the iTunes Store support staff through the report a problem links in your account history.
    tt2

  • Hi, dragging jpeg files into i-movie - the selection of jpegs is repeating certain photos and not featuring others, making the entire sequence impossible to view. PLEASE HELP!

    Hi, I have been dragging jpeg files into i-movie all week without issue. Now all of a sudden, the selection of jpegs I'm dragging is repeating certain photos and not featuring others, making the entire sequence impossible to view.
    Please help, this is urgent for a funeral tomorrow! It didnt happen with any of the other family tributes, they all worked fine.
    Many thanks,
    Ruth

    It worked! Thank you! I finally just finished about 20 minutes ago! It took over 26 hours to complete the process you described, but I stuck with it and it worked. I am glad I didn't give up or "forget it" as some might have suggested. That would have set me back until tomorrow!
    Ultimately, it turned out there were 45,910 jpgs created. No wonder it took so many hours to render/display them all. It ended up being about 10 hours before it seemed they were all rendered but the process between them displaying and being able to start really deleting them took a few hours because partly I was asleep and also partly it took forever to do anything. Any action as simple as selecting and right-clicking to Get Info, or emptying the trash, would take 20-30 minutes, a couple times longer. The clock stopped many times for 20-30 minutes at a time, a few times over 30 minutes, before catching back up. My cursor never froze which is what really kept me going, although it was a spinning beach ball for most of the time. I was never so relieved to see my regular cursor as opposed to seeing a spinning beach ball as I was early this morning after about 10 hours!
    Once I was able to open a Finder window and select all 45,900 files (I had already deleted 10 in the previous couple hours during experimenting of trying to figure out what would work best), then right-click and select to move all the files to the trash, the process of moving them to the trash took 4.5 hours. Then deleting them from the trash took a couple minutes. There were 21.4 GB!!! No wonder the whole process took 26 hours!
    mende1, thank you so much!

  • I use my computer with my wife, when i downloaded itunes it was on my part of the computer, but one day had my ipod connected to my wifes part of the computer and from then on have always signed into her part, but now cant retrieve my films from my part

    i cant retrieve films from i tunes that i downloaded on my part of the computer i share with my wife, as i somehow selected to sync on her part, now i keep getting a message that says, the ipod paddys ipod cannot be synced .you dont have enough access privalages for this operation.

    I'd wager a six-pack of cold adult beverage that you are still "logged in" to her iTunes account....
    Make sure you are logged in to YOUR computer account, then lauch iTunes.  Go to the Apps Store.  Verify that you can log in to YOUR iTunes account.
    From that point you should be able to get your stuff.  If not you may have to reset to factory and then restore from a backup....

  • How do I combine logical functions so Numbers will complete the entire operation and not stop as soon as it returns false?

    I'm trying to use the following formula, in which column A references a drop-down menu, and $K$13 is one of three different options possible for column A. The formula works if all the drop-down selections are the same, but as soon as one cell doesn't equal $K$13, the operation stops and none of the following cells are checked. I want all the cells to be checked so the destination cell will display any text from column R where column A = $K$13.
    =IF(A4=$K$13,IF(J4,CONCATENATE(R4," | ",),"")&IF(A5=$K$13,IF(J5,CONCATENATE(R5," | ",),"")&IF(A6=$K$13,IF(J6,CONCATENATE(R6," | ",),"")&IF(A7=$K$13,IF(J7,CONCATENATE(R7," | ",),"")&IF(A8=$K$13,IF(J8,CONCATENATE(R8," | ",),"")&IF(A9=$K$13,IF(J9,CONCATENATE(R9," | ",),"")&IF(A10=$K$13,IF(J10,CONCATENATE(R10," | ",),""),""),""),""),""),""),""),"")
    Can anyone help me? Thanks!

    You've set it up as a series of nested IF statements, rather than a series of independent IF statements. Here's a diagram of a similar three part formula:
    IF(test1,"T1"&IF(test2,"T2"&IF(test3,"T3",false3),false2),false1)
    IF test1 is FALSE, control passes directly to false1 and the program exits the formula, returning (in your case) a null string.
    IF test 1 is TRUE, then "T1"  is passed on to the next IF..
    IF test2 is FALSE, control passes directly to false2 (which in your case appends a null string) and the program exits the formula, returning "T1"
    IF test 2 is TRUE, then "T2" is appended to "T1", making the value now "T1T2" and that is passed on to the next IF.
    etc.
    You need to rewrite your formula so that it consists of a set of independent IF statements, each returning the text from the corresponding cell in column R and the three character string " | " if its test is TRUE, or a null string ( "" ) if its test is FALSE.
    The individual formulas can be placed in a concatenation string in a single cell (as you've attempted), but that makes for difficult reading and editing.
    Each of the IF statements is identical except for the cells whose value is being checked (A4 and J4 in the first) and the cell from which the 'if-true' value will be retrieved (R4 in the first). Because of this, my own choice would be to write the formula a single time, fill it down a column into rows 4 to 10, then use a simple concatenation formula to string those results together into a single cell.
    =IF(A4=$K$13,IF(J4,CONCATENATE(R4," | "),""),"")
    Assuming R4 contains the text "ABC", the formula will return:
    a null string if A4 contains a different value from K13.
    a null string if A4 contains the same value as K13 but J4 is empty. contains the number zero, or contains the Boolean value FALSE
    an error triangle if A4 contains the same value as K13 but J4 contains a value that is text (or formatted as text), a Duration, or a Date and Time value.
    the text string "ABC | " if A4 contains the same value as K13 and J4 contains a number that is not zero, or contains the Boolean value TRUE.
    Because the individual formulas will reference cells in their own row, the row part of those cell references may be removed.
    =IF(A=$K$13,IF(J,CONCATENATE(R," | "),""),"")
    Place the formula into row 4 of an available column (I'll assume Z for purposes of the second formula), then fill it down from Z4 to Z10.
    Then place this formula in the cell where you want to see the results:
    =Z4&Z5&Z6&Z7&Z8&Z9&Z10
    Regards,
    Barry

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • Re:one or more project in the solution was not loaded correctly, Could not find a part of the path

    Please I have been having  problems loadig the adventuremultdime2012, I downloaded the visual studio 2013
    but it is showing me this path
    C:\Users\PC\AppData\Local\Temp\Temp5_AdventureWorks Multidimensional Models SQL Server 2012 (3).zip\AdventureWorks Multidimensional Models SQL Server 2012\Enterprise\AdventureWorksDW2012Multidimensional-EE\AdventureWorksDW2012Multidimensional-EE.dwproj :
    error  : Could not find a part of the path 'C:\Users\PC\AppData\Local\Temp\Temp5_AdventureWorks Multidimensional Models SQL Server 2012 (3).zip\AdventureWorks Multidimensional Models SQL Server 2012\Enterprise\AdventureWorksDW2012Multidimensional-EE\AdventureWorksDW2012Multidimensional-EE.dwproj'.
    I guess its a hidden file or I have deleted it, because I cant find it too, any help please

    Looks like you've either moved the file to somewhere else or it got deleted
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • Music found, but not being read

    So i was on a plane when my ipod started acting up just skipping songs. So I reset it. Though when I did that it showed all my songs were gone. Though the space for the songs is still there. i then found the files looking on my computer. how can I ge

  • Macbook possible virus

    my daughter is having issues surfing web on macbook. intially all runs well but after visiting a couple of sites the computer seems to slow down to a near standstill causing her to have to reboot. any pointers?

  • How can I cancel a stalled podcast download within the iPad?

    When downloading a podcast from iTunes to the iPad the download stalled. Now when I go to the iTunes store I have a notification icon on the download button indicating that there is a download waiting. However, the podcast is no longer available and

  • No of Packages (PackQty) problem

    Dear All, I am facing problem in No. of Packages (PackQty) in delivery, while copied to A/R Invoice. I gets converted equivelent to quantity. eg If I have entered 20 pkg and 4350 qty in delivery, these are appeared as 4350 pkg and 4350 qty in A/R Inv

  • SharePoint 2013 Stretched Farm

    Considering implemented a Stretched Farm in SharePoint 2013 / with SQL Server Always On AG Synchronise commit We have <1ms latency and 10gbps bandwidth between data centres Has anyone implemented a stretched farm in SP2013 and what was the experience