V10.2.0.2 using mapviewer (EA11 and 10.1) to display index MBRs

I'm new to Spatial and GIS, and trying to confirm that my spatial indexes are ok.
I'm trying to view my spatial index mbr along with the geometry in the table using the mapviewer. When I set the SRID to a valid number (4269, 8285) the index mbr is displayed nowhere near the geometry in the table (i.e. the geom in the table is in california, the mbr looks like it's in africa). If I us an invalid srid (6269, there is an ora error, but the index creates anyway), then the mbr displays where I expect it to: around the geometry in the table.
My questions are 1) is this a valid way to display the index mbr? and, if so, 2) what's going on?
I used both the java and sqlldr shapefile converters to load the data with a valid (4269) and invalid (6269) SRID with the same results, as above.
I used this procedure to chg the srid:
1) drop the spatial index
2) update geomtable a set a.geom.sdo_srid=____;
3) update user_sdo_geom_metadata set srid=____ where table_name= 'geomtable' and column_name='GEOM'
4) create index geomtable_sidx on geomtable(geom) indextype is mdsys.spatial_index parameters ('tablespace=indextbs')
I used this query to display the mbr in mapviewer:
select sdo_root_mbr from user_sdo_index_metadata where sdo_index_name =
(select index_name from user_sdo_index_info where table_name = 'GEOMTABLE')
I'd appreciate any ideas!!!
thanks!
steve

Hi,
why you don't take the mbr from the user_sdo_geom_metadata?
regards,
Andreas

Similar Messages

  • Using MapViewer to view a georaster: blue display

    Hi,
    I uploaded a tiff file into a georaster table. I followed all the steps to georeference the raster, generate the spatial extent, create the pyramids, etc.
    Then I executed the steps to make my raster ready for viewing:
    - Insert a row into the USER_SDO_GEOM_METADATA
    - Create a spatial index on the spatial extent of the GeoRaster table
    Once I use 'MapViewer' all I see is a blue screen. I'm using the 'georaster.jsp' that come up with 'MapViewer' installation to view my raster. Any ideas of what could be wrong ?
    Any help is appreciated
    Jeff

    Joao,
    The log file under "c:\mypath\MapViewer\mvqs10_1_2_0_2\oc4j\j2ee\home\applications\mapviewer\web\WEB-INF\log\mapviewer.log' is indedd empty.
    1)
    To georeference the tiff, I used a .tfw file, set the SRID and generate the spatial extent:
    DECLARE
    geo SDO_GEORASTER;
    BEGIN
    SELECT GEORASTER INTO geo FROM Raster1 WHERE ID=1 FOR UPDATE;
    SDO_GEOR.IMPORTFROM(geo,'blocksize=(512,512)','TIFF','file','/export/home/oracle/large.TIFF',
    'WORLDFILE','file','/export/home/oracle/large.tfw');
    UPDATE Raster1 SET GEORASTER = geo WHERE ID=1;
    COMMIT;
    END;
    DECLARE
    geo sdo_georaster;
    BEGIN
    SELECT georaster INTO geo FROM Raster1 WHERE id=1 FOR UPDATE;
    sdo_geor.setModelSRID(geo, 32611);
    UPDATE Raster1 SET georaster = geo WHERE id=1;
    END;
    UPDATE Raster1 c
    SET c.georaster.spatialExtent = sdo_geor.generateSpatialExtent(georaster)
    WHERE c.id = 1;
    COMMIT;
    2) Here is the result of the metadata query:
    GEORASTER.METADATA
    <georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>20001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>1</defaultGreen>
    <defaultBlue>1</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>8BIT_U</cellDepth>
    <totalDimensions>2</totalDimensions>
    <dimensionSize type="ROW">
    <size>14241</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>16201</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>28</totalRowBlocks>
    <totalColumnBlocks>32</totalColumnBlocks>
    <rowBlockSize>512</rowBlockSize>
    <columnBlockSize>512</columnBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>5</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>32611</SRID>
    <spatialResolution dimensionType="X">
    <resolution>15.0</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>15.0</resolution>
    </spatialResolution>
    <modelCoordinateLocation>CENTER</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0.0" columnOff="0.0" xOff="0.0" yOff="0.0" zOff="0.
    0" rowScale="1.0" columnScale="1.0" xScale="1.0" yScale="1.0" zScale="1.0">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>251920.0 0.0 -0.06666666666666667</polynomialCoe
    fficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1.0</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>-34120.0 0.06666666666666667 0.0</polynomialCoef
    ficients>
    </rPolynomial>
    <sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1.0</polynomialCoefficients>
    </sPolynomial>
    </polynomialModel>
    </spatialReferenceInfo>
    <layerInfo>
    <layerDimension>BAND</layerDimension>
    </layerInfo>
    </georasterMetadata>

  • How can I video conference using a MacPro and a Apple Cinema Display ?

    Is there any way to video conference using iChat with a MacPro and an Apple Cinema Display? There is no built in iSight in these displays.

    Logitech is releasing a camera just for macs. That should do the trick.
    http://www.logitech.com/index.cfm/webcam_communications/webcams/devices/4528&cl= us,en

  • Is there anyway to solve Wifi problem on Macbook while using it closed and connected to external display?

    Hello,
    I'm using my Macbook connected to external LCD while the screen of the Macbook is closed. So I can use the full screen resoluiton of my LCD. When not closed but connected the mirroring reduces the resolution and not useful.
    But recently I recognized that when the Macbook screen is closed my fiber internet speed is down almost %50. When I test my fiber speed, when the macbook screen is open it's around 20mb/s, when the screen is closed and connected to LCD it's around 10 mb/s. I guess the wifi antenna is located at the screen I don't know. Is there any way to solve this probem? I want to use the lid closed without any sacrifice from my internet speed.
    Thanks for any answers in advance

    I have this same issue but what's strange is that it's only recently occurred since upgrading to FiOS's 50MB/s service.  I was seeing 20MB/s WiFi speeds with my previous 25MB/s service.  Frustrating!!

  • Mapviewer legend and note overlap

    I am using Mapviewer 11ea and wish to place a legend above a note in the SOUTH EAST corner of my map. The note is defined in the config file and the legend is provided in the map request. The legend itself seems to create a box larger than required and overlaps the note text below. See the image at http://www.geocities.com/ozspatial/legend-note-overlap.jpg showing the overlap and the large amount of white space at the bottom of the legend.
    The legend component of the request is from the default mapviewer request and looks like:
    <legend bgstyle="fill:#ffffff;stroke:#ff0000" profile="MEDIUM" position="SOUTH_EAST">
              <column>
                <entry text="Map Legend" is_title="true" />
                <entry style="M.STAR" text="center point" />
                <entry style="M.CITY HALL 3" text="cities" />
                <entry style="M.CITY HALL 4" text="big cities" />
                <entry is_separator="true" />
                <entry style="C.ROSY BROWN STROKE" text="state boundary" />
                <entry style="L.PH" text="interstate highway" />
                <entry text="County population:" />
                <entry style="V.COUNTY_POP_DENSITY" tab="1" />
              </column>
      </legend>Does anyone know how to reduce the white space in the legend or some other way to avoid the overlap? (whilst still placing both note and legend in the SOUTH EAST corner)
    thanks,
    Ross.

    Hi Ross,
    I don't think you will be able to reduce the white space at the bottom, but there are some parameters on the legend that you can use.
    1) In overlap situations you can set the transparency of the legend:
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" position="SOUTH_EAST">
    2) For the profile value there is an internal size defined. In your figure I can note that the advanced style items are also overlapping, which means that the internal size MEDIUM seems not appropriate for this legend. You can assign a height for a legend entry:
    <entry style="V.CA INCOME 2" tab="1" height="150"/>
    3) With version 11 there are two new parameters (location_x and location_y) for the legend that can be used to put the legend in any position. In this case the position attribute is ignored if defined.
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" location_x="20" location_y="50">
    Joao

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

  • Using MapViewer from PL/SQL vs Java

    Hi group!
    The MapViewer User's Guide has this to say about using MapViewer from PL/SQL:
    "The usage model for the SDO_MVCLIENT package is almost identical to that of
    MapViewer JavaBean-based API" etc etc .. "For usage and reference information about specific functions or procedures, see the description of the associated JavaBean-Based API. methods and interfaces in Chapter 4"
    If I don't misunderstand the basic concept, in a Java Web App (using the MapViewer Bean) you create a MapViewer object for each HTTP-user-session, like so:
    MapViewer mv = new MapViewer("http://my_corp.com:8888/mapviewer/omserver");
    ... which you would then store in the user's session object, so that the MapViewer Bean conveniently holds the map's state on the user's behalf.
    To do the equivalent in PL/SQL, the User's Guide suggests:
    "connect scott/tiger
    call sdo_mvclient.createmapviewerclient(
    'http://www.mycorp.com:8888/mapviewer/omserver') ;
    The preceding example creates, in the current session, a unique MapViewer client
    handle to the MapViewer service URL"
    Does "current session" refer to the HTTP-user-session? While I've used PL/SQL before, I've not used the PL/SQL Web Toolkit. Is the session handling implicit here (and invisible?) or should the sdo_mvclient be subsequently stored in the PL/SQL equivalent of a (J2EE) HttpSession object?
    YT

    Part of the answer will depend on how you plan to deploy the application. If you have a few, local clients you could go with the traditional client/server model. If you have a lot of clients and/or they are spread out over a relatively large area (like a campus setting), a web front-end will save you a lot of hassels down the road when it comes time to upgrade.
    Regardless of the the front end, I can tell you that I have been greatly impressed with the throughput you can get by moving most of the code to PL/SQL packages. A few years ago we reworked a VB/Oracle app by moving a lot of the code out of VB and into packages, leaving the client to essentially call procedures and format the output. We had more than a 3x performance increase on the same hardware and our network utilization decreased noticably.
    I am now in the process of replacing the client code with Java servlets/JSP, primarily because of the maintenance hassles I mentioned earlier. There are some limitations with an HTML page but most of these have been cosmetic so far.
    We are still relying heavily on PL/SQL packages. The servlet code basically gets a request, calls a package to get the data, then hands the results to a JSP page. The JSP then formats the output and sends it to the client. We are little more than halfway through the re-write, but it appears performance will increase again. Not as noticably as before, but I will take what I can get. As you have seen, once something is rolled out it always ends up getting used more than you anticipated. Better to over-engineer now than have to patch it once it is live.
    HTH

  • I want to set up my Epson printer using an airport and RR router. It was previously set up using a different router through HTC but same printer. How do I do this?

    I want to set up my Epson printer using an Airport and RR router. The same Mac Book and printer was formerly set up using a HTC router. How do I reset computer so it communicates with printer?

    http://support.apple.com/kb/HT3771
    Mac 101: Printing (Mac OS X v10.6)

  • WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER

    Dear Sir,
    please any one can answer me as soon as possible its very urgent
    WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER
    I     As oracle mapviewer Chapter 8 (Oracle Maps) says generating our own Web based mapping application we are trying to generate our own maps for our own data contains in our layers like example boundary lines and roads and etc. and we are following complete example as described in Oracle Mapviewer Document Chapter 8.
    Before this step we tried with demo data downloaded from OTN mvdemo. And we downloaded latest demo today itself from the OTN and imported into our database schema called mvdemo. And we copied all three jar files mvclient and mvconnection and mvpalette into our jdeveloper .
    II.     We created a jsp to execute the following code from oracle mapviewer chapter 8 documents
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jwcache.tld"
    prefix="jwcache"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld"
    prefix="fileaccess"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jesitaglib.tld"
    prefix="JESI"%>
    <f:view>
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html" charset=UTF-8>
    <TITLE>A sample Oracle Maps Application</TITLE>
    <script language="Javascript" src="jslib/loadscript.js"></script>
    <script language=javascript>
    var themebasedfoi=null
    function on_load_mapview()
    var baseURL = " http://localhost:8888/mapviewer/omserver";
    // Create an MVMapView instance to display the map
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    // Add a base map layer as background
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    // Add a theme-based FOI layer to display customers on the map
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mvdemo.customers');
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    // Set the initial map center and zoom level
    mapview.setCenter(MVSdoGeometry.createPoint(-122.45,37.7706,8307));
    mapview.setZoomLevel(4);
    // Add a navigation panel on the right side of the map
    mapview.addNavigationPanel('east');
    // Add a scale bar
    mapview.addScaleBar();
    // Display the map.
    mapview.display();
    function setLayerVisible(checkBox){
    // Show the theme-based FOI layer if the check box is checked and
    // hide the theme-based FOI layer otherwise.
    if(checkBox.checked)
    themebasedfoi.setVisible(true) ;
    else
    themebasedfoi.setVisible(false);
    </script>
    </head>
    <body onload= javascript:on_load_mapview() >
    <h2> A sample Oracle Maps Application</h2>
    <INPUT TYPE="checkbox" onclick="setLayerVisible(this)" checked/>Show customers
    <div id="map" style="width: 600px; height: 500px"></div>
    </body>
    </html>
    </f:view>
    <!--
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>mapPage</title>
    </head>
    <body><h:form binding="#{backing_mapPage.form1}" id="form1"></h:form></body>
    </html>
    -->
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_mapPage--%>
    III.     When we run this jsp it’s giving us following Two errors
    1     Error:     ‘MVMapView’ is undefined
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    2     Error:     ‘themebasedfoi’ is null or not an object
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    Please let us know what could be problem as soon as possible. Very urgent
    Please let us know where we can find Mapviewer AJAX API’s for Jdeveloper Extention
    Thanks
    Kabeer

    I currently use parameters, and they are passed from the form to the report. Report is then generated based on a function returning ‘strongly typed’ cursor. The ‘strongly typed’ cursor in my case returns a record consisting of an orderly collection of fields.
    This collection of fields is returned by another function that relies on the IF … THEN logic.
    However, the number of IF ... THEN statements is quite large (currently 64 covering all possible combinations of 6 parameters available in the form).
    I would like to avoid the large number of IF … THEN statements, and hope that there is a way of passing a string to a query, where the Dynamic SQL would in Select close and Where close reflect parameters passed by the form.
    In addition to this I would like to avoid creating and populating a table or a view dedicated to the report, because this may lead to a conflict in case of multiple users concurrently generating reports with different choice of parameters.
    Edited by: user6883574 on May 28, 2009 9:16 PM

  • Using Mapviewer with Oracle Locator

    We're currently using Oracle Locator as a datasource for Mapviewer 10g and we're running into a slight problem when loading simple points from a table. We have the table containing these ponits added to the USER_SDO_GEOM_METADATA table and the spatial index is created on the specific column with the SDO_GEOMETRY type. When the map loads up the following error is generated when a dynamic jdbc query is run:
    MAPVIEWER-06009: Error processing an FOI request.
    Root cause:FOIServlet:ORA-29900: operator binding does not exist
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-907: cannot load library unit MDSYS.SDO_3GL (referenced by MDSYS.SDO_FILTER)
    I've looked in the database for the MDSYS.SDO_3GL object and it's definitely there, so I'm a little lost on what could be causing this. I thought perhaps that our user schema may not have execute privileges associated with that specific procedure, but I believe the entire point of MDSYS is that it's available to any user on the database.
    Any help with this would be greatly appreciated.
    Edited by: user1175540 on Oct 29, 2010 7:10 PM

    We're currently using the javascript api for oracle maps (using the matching javascript file, oraclemaps.js, that came directly from the mapviewer application download). All that I'm calling is a single table and then getting some hidden info columns as well off of it too. I've tried this on a different schema and database that's also only running Locator and the query runs just fine with the points on the map displaying as intended.
    Here's the current theme request that I'm submitting:
    <theme name= 'lowerTheme' >
    <jdbc_query spatial_column='GEOMETRY' jdbc_srid='8307' render_style= 'V.AVCD_BUILD' datasource='mvdemo' >
    select * from build where subtype in('ABC','123','DEF')
    <hidden_info>
    <field column='SUBTYPE' name='Type'/>
    <field column='NAME' name='Name'/>
    <field column='ADDR' name='Address'/>
    <field column='CITY' name='City'/>
    <field column='STATE' name='State'/>
    <field column='ZIP_CODE' name='ZIP Code'/>
    </hidden_info>
    </jdbc_query>
    <rendering>
    <style name='V.AVCD_BUILD' value_columns='SUBTYPE'/>
    </rendering>
    </theme>
    Within the actual function adding that theme to the 'mapview' variable I'm creating a new MVThemeBasedFOI object using the name 'lowerTheme' and the above definition for the second parameter in the constructor.
    Is there a listing of procedures on the MDSYS schema that I should check to make sure they're valid for spatial queries to work?
    Thanks in advance for the help.

  • How to use MapViewer API?

    Hi,
    I have a problem that is acturally regarded to java programming. I want to use MapViewer JavaBean-Based API. I did the preparing work described in Mapviewer doc §4.2.
    I saved the demo jsp page "mapclient.jsp" in my own application folder (under oc4j\j2ee\home\default-web-app). The other jsp pages written by myself can be displayed. But this mapclient.jsp can not be retrieved. "HTTP 500 internal server error The page cannot be displayed." It seems that I don't have J2EE container that contains the MapViewer service.
    I also changed the codes of mapclient.jsp. I use
    import oracle.spatial.mapclient.MapViewer;
    MapViewer mv = new MapViewer("http://localhost ...");
    It does not work, either. "The page cannot be displayed."
    I don't know how to invoke the MapViewer service. I use oc4j standalone. I don't know how to get the error message, either.
    I hope somebody can give me some suggestions. Thanks in advance.

    Hi,
    about the addDataSource using the Java API, for now you have to disable the security
    in order to add the data source using the MapViewer client API.
    You can do that editing the MapViewer config file:
    <mv_security enforce_sec_role="false" />
    Assuming that you have added your data source, and you have rendered some map,
    you can get the attribute information using the "identify" methods of the
    MapViewer client API.
    1) To identify one individual geometry:
    String [][] result = mapviewer.identify(dataSource,table_name,columns,
    geometry_column,srid, x, y);
    where: "columns" contains the table attribute names that
    you want to retrieve
         x,y represents the device coordinate.
    2) To identify geometries inside a rectangle:
    String [][]result = mapviewer.identify(dataSource,table_name,columns,
    geometry_column,srid, xlowleft,ylowleft,
    xupright,yupright,false);
    where the rectangle coordinates are defined by xlowleft,ylowleft,
    xuprigth, and yuprigth values in device unit.
    3) The resulted String array contains on the first row the attribute
    names, and on the remaining rows the attribute values for each geometry.
    int nlin = result.length; // return the number of lines
    int col = result[0].length; // number of columns
    To get the attribute names:
    // attribute names
    Object []tableattrs = new Object[ncol];
    for(int j=0;j<ncol;j++)
    tableattrs[j] = result[0][j];
    To get the attribute values:
    Object [][]tablevalues = new Object[nlin-1][];
    for(int lin=1;lin<nlin;lin++)
    tablevalues[lin-1] = new Object[ncol];
    for(int col=0;col<ncol;col++)
    tablevalues[lin-1][col] = result[lin][col];
    Regards.

  • Using Mapviewer with MrSID format images

    Hello,
    I'm using Mapviewer, it only supports JPEG and GIF formats so If you want to use other formats, you have to create your own Custom Image Render. I have tried to do this with ECW format (there is an example in Mapviewer Documentation) because we have some images in this format, but we work with images in MrSID Format, Has anybody done a Custom Image Render for this format?, and for ECW Format?
    Thank you very much
    Carlos.

    Chris, File>Page Setup gives me the choice to select small icons for portrait or landscape or reverse landscape. The problem is that I select them, then Save (Command S), I get a landscape view in the print dialog that has the image as the same size and shape as the portrait version. It has large white bars of paper on each side of the image.
    The only way I've been able to get this to print out properly is by opening it into Keynote instead of Preview.

  • HT1338 Yesterday, I purchased Mountain Lion OSX and tried to download it but I don't think it worked.  How can I tell if I am using Mountain Lion and how do I get help if the download was unsuccessful?

    Yesterday, I purchased Mountain Lion OSX and tried to download it but I don't think the download worked.  How can I tell if I am using Mountain Lion and how do I get help if the download was unsuccessful?

    Click your Apple menu icon top left corner of your screen.
    From the drop down menu click About This Mac.
    If Mountain Lion is installed, it will say:  v10.8
    If not, launch the App Store. From the App Store menu bar click Store > Check for Unfinished Downloads
    FYI ..  for downloading Mountain Lion from the App Store, a high speed (broadband) internet connection is strongly recommended by Apple as noted here > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you need to reinstall OS X or repair the the startup disk Mountain Lion Recovery, that requires broadband access to the internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the internet form Apple when OS X Recovery is used for reinstallation.

  • Hi..Iam an Architect...I would like to purchase a macbook pro 15.4 inch 512 gb, 16 gb.So i would like to know the possibilities and advantages of using 3d softwares and autocad.And also is 3dsmax available for mac os or should i install it with windows.

    hi..Iam an Architect...I would like to purchase a macbook pro 15.4 inch 512 gb, 16 gb.So i would like to know the possibilities and advantages of using 3d softwares and autocad.And also is 3dsmax available for mac os or should i install it with windows.

    System Requirements for AutoCAD 2013 for Mac:
    Apple® Mac OS® X v10.8.0 or later (Mountain Lion), OS X v10.7.2 or later (Lion), or OS X v10.6.8 or later (Snow Leopard) with 64-bit Intel processor
    Apple® Mac® Pro 4.1 or later; MacBook® Pro 5.1 or later (MacBook Pro 6.1 or later recommended); iMac® 8.1 or later (iMac 11.1 or later recommended); Mac® mini 3.1 or later (Mac mini 4.1 or later recommended); MacBook Air® 2.1 or later; MacBook® 5.1 or later (MacBook 7.1 or later recommended)
    3 GB of RAM (4 GB recommended)
    2.5 GB free disk space for download and installation (3 GB recommended)
    All graphics cards on supported hardware
    1,280 x 800 display with true color (1,600 x 1,200 recommended)
    All Mac OS X supported language operating systems
    Apple® Mouse, Apple Magic Mouse, Magic Trackpad, MacBook® Pro trackpad, or Microsoft-compliant mouse.
    Mac OS X-compliant printer
    Additional Requirements for 3D Modeling (All Configurations)
    Pentium 4 or Athlon processor, 3 GHz or greater or Intel or AMD dual-core processor, 2 GHz or greater
    4 GB RAM or more
    6 GB hard disk space available in addition to free space required for installation
    1,280 x 1,024 true color video display adapter 128 MB or greater, Pixel Shader 3.0 or greater, Direct3D®-capable workstation-class graphics card
    3ds Max 2014 and 3ds Max Design 2014 are available for windows only:
    System requirements for 3ds Max 2014 and 3ds Max Design 2014
    Windows 8 or Windows® 7 64-bit Professional operating system
    64-bit Intel or AMD multi core processor
    4 GB RAM minimum (8 GB recommended)
    4.5 GB free disk space for installation
    3-button mouse
    Latest version of Microsoft® Internet Explorer®, Apple® Safari®, or Mozilla® Firefox® web browser
    Recommened Mac:
    15-inch MacBook Pro with Retina display : 15.4-inch (diagonal) LED-backlit display with IPS technology
    2880-by-1800 native resolution at 220 pixels per inch with support for millions of colors
    Hardware
    2.4GHz quad-core  Quad-core Intel Core i7
    16GB 1600MHz DDR3L SDRAM
    512GB Flash Storage
    Autodesk AutoCAD 2014 for Windows vs AutoCAD 2013 for Mac
    USER INTERACTION                                                                          Windows         Mac
    Command line


    Multifunctional grips


    Dynamic input


    Auto-complete command entry2


    Hide and isolate objects


    Create and select similar objects


    Delete duplicate objects


    Properties palette


    Quick properties palette

    Quick view


    In-canvas viewport controls


    Editable UCS icon


    Layer tools3


    Layer groups


    Layer state manager4

    New layer notification

    Filter

    Quick select

    DesignCenter

    Tool palettes

    Content palette

    Navigation bar

    ShowMotion

    Coverflow navigation

    Multi-touch gestures

    AutoCorrect command entry

    File tabs

    DOCUMENTATION
    Geometry creation & measurement tools


    Parametric constraints


    Associative arrays


    Copy array


    Object and layer transparency


    Strike-through text


    Blend curves


    Multiple hatch editing


    Sheet set manager

    Project manager

    Dynamic blocks5


    Model documentation tools

    Table style editing

    Hatch creation preview

    Multiline style creation

    Digitizer integration

    Change space

    Express tools6

    Text align

    DESIGN
    Solid, surface, and mesh modeling


    Surface curve extraction


    PressPull


    Autodesk materials library


    Material creation, editing, and mapping

    Basic rendering


    Sun properties7


    Visual styles7


    Advanced rendering settings

    Camera creation

    Walkthroughs, flybys, and animations

    Autodesk ReCap point cloud tool

    Import Sketchup files (SKP)

    Geographic location

    CONNECTIVITY
    External references (DWG)


    Image underlays


    PDF underlays


    DWF underlays

    DGN underlays

    In-place editing of DWG references


    Batch publish


    Publish or plot to PDF


    Plot styles


    Plot style table editor


    AutoCAD WS connectivity


    Autodesk 360 connectivity

    Data links

    Data extraction

    Hyperlinks

    Markup set manager

    dbConnect manager

    eTransmit

    WMF import and export

    FBX import and export

    SAT import and export


    Additional model import

    Design feed

    Share on Facebook

    LICENSING
    Standalone licensing


    Network licensing


    Cross-platform licensing

  • Screen stuck on gray, used shift key and my screen appears with MacBook Pro and not the recovery option. Please help

    Screen stuck on gray, used shift key and my screen appears with MacBook Pro and not the recovery option. Please help!

    Hi ..
    Shift key boots into Safe Mode, not Recovery.
    This only works on a Mac running v10.7 Lion or later.
    Startup your Mac while holding down the Command + R keys. From there you should be able to access the built in utilities to repair the startup disk and restore OS X using OS X Recovery
    If you can't boot into Recovery Mode, help here >   Mac OS X: Gray screen appears during startup

Maybe you are looking for

  • Can't install OSX updates - volumes won't expand??

    I found out after purchase that the HD had been replaced in this laptop. I did a new install of Tiger, then tried to update. NG. Did Disk Utility repairs. Kept finding invalid files during verification that DU repaired, but still no installation of 1

  • LSMW change article master data

    Dear All, As I am new in Retail, i need to know detail steps how to perform LSWM (IDOC method) to change material master (MM42) providing that needed fields are article code - vendor - purchase organization .. and the field to be changed is tax code

  • J2EE Engine Deployment Error

    I have written the betting pool applicaton for Soccer world Cup (/people/raphael.vogel/blog/2006/05/18/writing-a-betting-pool-application-for-the-soccer-world-cup-2006-part-i) now i would like to deploy to j2ee Engine((/people/raphael.vogel/blog/2006

  • STOP WHINING! I think I found a solution

    I have jumped for joy as my iTunes 5 worked after this... Click and follow EXACTLY step-by-step Dmitry Byk, "Success! All fixes together in one thread...step-by-step...", 12:19am Sep 11, 2005 CDT Some of the steps were unecessary for me only because

  • Accepting appointments (.ics) from EMAIL

    I am using microsoft exchange server setup for my email. The problem is with the ics file which i get as email attachment. The phone seems to recognize the ics file and i can click on them in the email but it takes me to a blank screen. I am running