Select to view content in your preferred language

Roberts Identify Widget Issue with a Particular feature

4941
32
Jump to solution
01-10-2012 02:30 AM
AlanHope
Occasional Contributor
Hi Robert
You had been assisting me with an Issue regarding the identify widget in a separate thread located here.
I wanted to start a new thread so that you could get credit for answering a question should you be able to do that for me (I have no doubts that you will be able to help)
The previous thread is located In this link
I have now narrowed this down to an Issue with the particular feature
I added our Manholes to the XML and these were identifiable using the following XML
<?xml version="1.0" ?> <configuration>  <betareturngeometryfix>false</betareturngeometryfix>  <identifylayeroption>visible</identifylayeroption>  <identifytolerance>5</identifytolerance>  <defaultzoomscale>2000</defaultzoomscale>  <keepidentifyactive>true</keepidentifyactive>  <returngeometryforzoom>false</returngeometryforzoom>  <enablelineselect>true</enablelineselect>  <enbleextentselect>true</enbleextentselect>  <enablepolyselect>true</enablepolyselect>  <enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo>  <enablemouseoverrecordinfo>false</enablemouseoverrecordinfo>  <usemaptime>false</usemaptime>  <autoactivatedtool>point</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->  <labels>   <zoom2message>Click to Zoom to Point</zoom2message>   <identifylabel>Identify</identifylabel>   <resultslabel>Results</resultslabel>   <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>   <pointlabel>Identify by Point</pointlabel>   <linelabel>Identify by Polyline</linelabel>   <rectlabel>Identify by Rectangle</rectlabel>   <polylabel>Identify by Polygon</polylabel>   <clearlabel>Clear</clearlabel>   <loadinglabel>Loading...</loadinglabel>  </labels>  <useproxy>   <proxylayer>    <!--name>Imagery</name-->   </proxylayer>  </useproxy>  <layers onlythese="true">   <layer>    <name>Manholes</name>    <fields>UGS_ID,NEIGHBORHO</fields>    <links>     <link includeinresults="false" field="" alias="">      <linkprefix></linkprefix>      <linksuffix></linksuffix>      <iconfield></iconfield>      <iconprefix></iconprefix>      <iconsuffix></iconsuffix>     </link>    </links>    <zoomscale>2000</zoomscale>    <forcescale>false</forcescale>   </layer>     <layer>    <name>Pole Master</name>    <fields>POLEID,MUNI</fields>    <links>     <link includeinresults="false" field="" alias="">      <linkprefix></linkprefix>      <linksuffix></linksuffix>      <iconfield></iconfield>      <iconprefix></iconprefix>      <iconsuffix></iconsuffix>     </link>    </links>    <zoomscale>2000</zoomscale>    <forcescale>false</forcescale>   </layer>  </layers>  <symbols>      <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid">       <outline color="0x448ccb" alpha="0.8" width="2"/>      </simplefillsymbol>      <simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0">       <outline style="solid" color="0xffffff" alpha="0.8" width="1"/>      </simplemarkersymbol>      <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" />   <simplelinesymbol color="0x448ccb" alpha="0.8" width="2"/>     </symbols> </configuration>


However the Pole Master features are not returned in the identify results
Here is my REST end point
Layer: Pole Master (ID: 0)
Display Field: POLEID
Type: Feature Layer
Geometry Type: esriGeometryPoint
......
Fields:
OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)
POLEID (Type: esriFieldTypeString, Alias: POLEID, Length: 16 )
MUNI (Type: esriFieldTypeString, Alias: MUNI, Length: 20 )
.......

The Pole Master Table is a bit of beast and we are in the process of restructuring it however this wont be for the next 6-12 months.
Any ideas why the Manholes show but the Poles do not?

I will post the IE Dev mode response in the next post as it took me over the limit

Thanks for any assistance you are able to provide
Al
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Alan,

  Well here is the bad news and good news... The Good is that I was successfully able to identify the mapservice I produced using they FGDB you provided. That means the bad news is that you have a configuration or an actual map service corruption issue. Next recommended step would be to has your GIS Manager export out the whole layer and publish a new seperate map service for this layer and test it with the identify widget.

[ATTACH=CONFIG]11082[/ATTACH]

View solution in original post

0 Kudos
32 Replies
AlanHope
Occasional Contributor
IE Dev mode response body
{"results":[{"layerId":0,"layerName":"Pole Master ","value":"719-767","displayFieldName":"POLEID","attributes":{"OBJECTID":"305786","POLEID":"719-767","MUNI":"PITTSBURGH","BELLID":"","TYPE":"Steel","HEIGHT":"","CLASS":"","OWNERSHIP":"CITY","NOTES":"","TIME":"","DATE_":"2/11/2002","OTHERID2":"","EMPLOYEE_":"9911","DLC_DIST":"1","DLC_COM":"0","DQE_COM":"0","STLITE":"1","BELL1":"0","ALLTEL1":"0","NPT1":"0","ARMSTRNG1":"0","FIBOPT":"0","OTHER":"0","OTHER2":"0","FIBOPT2":"0","FIBOPT3":"0","CABLE_AREA":"WAR-1","PHONE_PWR":"0","CABLE_PWR":"0","CABLE_FO":"0","CABLE_FO2":"0","TAGGED":"0","MAPPED":"0","REPLACE":"0","CABLE_NO":"0","PHONE_NO":"0","WMIS_1":"0","WMIS_2":"0","WMIS_3":"0","REVDATE_1":"Null","REVDATE_2":"Null","REV_DATE_3":"Null","PTE":"0","NO_ANCHORS":"0","SWITCH":"","SECTIONAL":"","SCADAMATE":"","VIPER":"","RECLOSER":"","CAPACITOR":"","STREET":"","URD_KEY":"","URD_PLAN":"","URD_PATH":"","CIRCUIT":"","X_COORD":"1344907.69865","Y_COORD":"411188.07604","MAP":"","CHDATE":"Null","EMPL":"","EMP2":"","STNO":"","STSEG":"","LEAN":"0","BDTP":"0","BDAR":"0","ANCH":"0","UGCB":"0","REIF":"0","NLHGT":"0","NLDATE":"","VECH":"0","SPLY":"","QLTY":"","PLANT":"","MNTH":"","PLNTYR":"0","SPCS":"","CHEM":"","BRHGT":"0","MEAS":"","FIBRD":"0","UTT":"0","REPLACEREQ":"0","SETIN":"","DRILLED":"0","DIAM":"0","NOTEST":"0","UNIQ_ID":"1344908411188","GIS_SHEET":"5139","CAB_AGREE":"","PROP_CO":"","AGREEMENT":"","LOCKDATE":"Null","LDATE15":"Null","LDATE60":"Null","COMPANY1":"","CO1_AGREE":"","CO1_DATE":"Null","COMPANY2":"","CO2_AGREE":"","CO2_DATE":"Null","COMPANY3":"","CO3_AGREE":"","CO3_DATE":"Null","CO1_NOTES":"","CO2_NOTES":"","CO3_NOTES":"","SERVCNTR":"PREB","Shape":"Point","PIC1":"\\\\s0052\\gisbig\\download\\9911\\pic24\\mvc-873s.jpg","PIC2":"\\\\s0052\\gisbig\\download\\9911\\pic24\\mvc-s.jpg","PIC3":"Null","PIC4":"p:\\download\\9911\\pic24\\mvc-s.jpg","CURATTNOTES":"Null","CIRCUIT2":"Null","CIRCUIT3":"Null","CIRCUIT4":"Null","CIRCUIT5":"Null","URD_YEAR":"Null","URD_SUBM":"Null","URD_COMRES":"Null","URD_PAD":"Null"}},{"layerId":1,"layerName":"Manholes","value":"7846","displayFieldName":"UGS_ID","attributes":{"OBJECTID_1":"1180","OBJECTID":"1960","UGS_ID":"7846","MAPKEY":"","NAME":"","CKT_NO":"0","SPOT":"","VOLTAGE":"","ZONE_":"0","SUBTYPE":"OCT2W","SYMBOL":"164","ROTATION":"0.2046","UGS_LENGTH":"97","UGS_WIDTH":"62","UGS_HEIGHT":"0","DIG_DEPTH":"159","DRAWING_NB":"W-122","UGS_TYPE_C":"MAN2WY","LID":"2-6","X_COORD":"1344950.7922","Y_COORD":"411214.39908","STREET":"CENTER","MUNI":"PITTSBURGH","DATE_":"Null","EMPLOYEE":"2382","LENGTH":"8-1","WIDTH":"5-2","DEPTH":"13-3","NEIGHBORHO":"CENTRAL BUISNESS DISTRICT","X_COORD_1":"1344950.7922","Y_COORD_1":"411214.39908","UNIQ_ID":"1344951411214","Shape":"Point"}},{"layerId":3,"layerName":"Duct Lines - Downtown","value":"129594","displayFieldName":"TAG","attributes":{"OBJECTID":"540","FNODE_":"0","TNODE_":"0","LPOLY_":"0","RPOLY_":"0","LENGTH":"314.8268","DU_ELEC_L1":"0","DU_ELEC_L2":"0","TAG":"129594","TYPE":"ULS","SUBTYPE":"DCTBNK","SYMBOL":"135","ZOOM_SYMBO":"135","FJUNCTION":"21707","TJUNCTION":"21710","LOCK__ID":"0","PHASE__ID":"0","Shape":"Polyline","SHAPE.LEN":"314.826804"}},{"layerId":3,"layerName":"Duct Lines - Downtown","value":"129595","displayFieldName":"TAG","attributes":{"OBJECTID":"535","FNODE_":"0","TNODE_":"0","LPOLY_":"0","RPOLY_":"0","LENGTH":"235.6998","DU_ELEC_L1":"0","DU_ELEC_L2":"0","TAG":"129595","TYPE":"ULS","SUBTYPE":"DCTBNK","SYMBOL":"135","ZOOM_SYMBO":"135","FJUNCTION":"21710","TJUNCTION":"21711","LOCK__ID":"0","PHASE__ID":"0","Shape":"Polyline","SHAPE.LEN":"235.699893"}},{"layerId":12,"layerName":"Allegheny Parcels","value":"2-G-321","displayFieldName":"MAPBLOCKLO","attributes":{"OBJECTID":"214330","PIN":"0002G00321000000","MAPBLOCKLO":"2-G-321","MUNICODE":"103","PROPERTYOW":"SPORTS & EXHIBITION AUTH OF PITTSBURGH &ALLEGHENY COUNTY","PROPERTYAD":"","PROPERTYHO":"50","PROPERTY_1":"CONGRESS ST","PROPERTYUN":"","PROPERTYLO":"","PROPERTYCI":"PITTSBURGH, PA","PROPERTYZI":"15219","MUNDESC":"PITTSBURGH - 3RD WARD","OWNERDESC":"Corporation","STATEDESC":"Other","USEDESC":"CHARITABLE EXEMPTION/HOS/HOMES","CHANGENOTI":"REGIONAL ENTERPRISE TOWER","CHANGENO_1":"425   6TH AVE  STE 2750","CHANGENO_2":"PITTSBURGH, PA 15219-","CHANGENO_3":"","AGENTNAME":"SPORTS & EXHIBITION AUTHORITY OF        PITTSBURGH & ALLEGHENY COUNTY","TAXBILLFUL":"REGIONAL ENTERPRISE TOWER","TAXBILLF_1":"425   SIXTH AVE SUITE 2750","TAXBILLF_2":"PITTSBURGH, PA 15219-","TAXBILLF_3":"","Shape":"Polygon","SHAPE.AREA":"29110.049251","SHAPE.LEN":"991.957481"}},{"layerId":12,"layerName":"Allegheny Parcels","value":"2-G-306","displayFieldName":"MAPBLOCKLO","attributes":{"OBJECTID":"214129","PIN":"0002G00306000000","MAPBLOCKLO":"2-G-306","MUNICODE":"103","PROPERTYOW":"EPIPHANY ROMAN CATHOLIC CHURCH ETAL","PROPERTYAD":"","PROPERTYHO":"1018","PROPERTY_1":"CENTRE AVE","PROPERTYUN":"","PROPERTYLO":"","PROPERTYCI":"PITTSBURGH, PA","PROPERTYZI":"15219","MUNDESC":"PITTSBURGH - 3RD WARD","OWNERDESC":"Corporation","STATEDESC":"Other","USEDESC":"CHURCHES, PUBLIC WORSHIP","CHANGENOTI":"","CHANGENO_1":"1018   CENTRE AVE","CHANGENO_2":"PGH, PA 15219-","CHANGENO_3":"","AGENTNAME":"","TAXBILLFUL":"","TAXBILLF_1":"1018   CENTRE AVE","TAXBILLF_2":"PITTSBURGH, PA 15219-","TAXBILLF_3":"","Shape":"Polygon","SHAPE.AREA":"45994.08213","SHAPE.LEN":"858.792714"}},{"layerId":23,"layerName":"Allegheny Streets with Penn DOT Accident Zones","value":"Centre","displayFieldName":"ST_NAME","attributes":{"OBJECTID":"81763","LENGTH":"625.6113","PREFIX":"","TYPE":"Ave","SUFFIX":"","STNME":"Centre Ave","ST_NAME":"Centre","MUNI":"Pittsburgh","ALTERNATEN":"","LLEFT":"0","HLEFT":"0","LRGT":"0","HRGT":"0","FROMSTREET":"Washington Pl","TOSTREET":"Mario Lemiux Pl","ZIPL":"15219","ZIPR":"15219","MCDL":"100","MCDR":"100","OWNER":"City","BELTWAY":"","MAJORRD":"Yes","NO_LANES":"3","CFCC":"A31","GDTLINK":"","ONEWAY":"n","STCL_CODE":"0","UNIQUE_ID":"12799","ROUTE_NO":"","DO":"y","RECNO":"18247","CKT_NO":"","GEO_CD":"719","HAZARD":"Null","SEGMENT":"Null","PENNDOT":"Null","Shape":"Polyline","SHAPE.LEN":"625.611302"}},{"layerId":43,"layerName":"Edge of Roads","value":"12194","displayFieldName":"OBJECTID","attributes":{"OBJECTID_1":"90871","OBJECTID":"12194","FNODE_":"9606","TNODE_":"9750","LPOLY_":"0","RPOLY_":"0","LENGTH":"792.77582","PGMAJT_":"12194","PGMAJT_ID":"30184","MAJTRANS_C":"1010","Shape":"Polyline","SHAPE.LEN":"792.775837"}},{"layerId":43,"layerName":"Edge of Roads","value":"12188","displayFieldName":"OBJECTID","attributes":{"OBJECTID_1":"57437","OBJECTID":"12188","FNODE_":"9606","TNODE_":"9750","LPOLY_":"0","RPOLY_":"0","LENGTH":"362.98845","PGMAJT_":"12188","PGMAJT_ID":"30183","MAJTRANS_C":"1090","Shape":"Polyline","SHAPE.LEN":"362.988531"}},{"layerId":43,"layerName":"Edge of Roads","value":"12189","displayFieldName":"OBJECTID","attributes":{"OBJECTID_1":"91738","OBJECTID":"12189","FNODE_":"9751","TNODE_":"9607","LPOLY_":"0","RPOLY_":"0","LENGTH":"343.77684","PGMAJT_":"12189","PGMAJT_ID":"30138","MAJTRANS_C":"1090","Shape":"Polyline","SHAPE.LEN":"343.776901"}},{"layerId":43,"layerName":"Edge of Roads","value":"11910","displayFieldName":"OBJECTID","attributes":{"OBJECTID_1":"95838","OBJECTID":"11910","FNODE_":"9236","TNODE_":"9236","LPOLY_":"0","RPOLY_":"0","LENGTH":"2539.19253","PGMAJT_":"11910","PGMAJT_ID":"30188","MAJTRANS_C":"1010","Shape":"Polyline","SHAPE.LEN":"2539.192353"}}]}
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   Does this point feature z aware?
0 Kudos
AlanHope
Occasional Contributor
Alan,

   Does this point feature z aware?

Robert
I am farily new to GIS so please forgive my ignorance but how would I verify that the point is Z aware?
Thanks
Al
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   In ArcCatalog find the feature Pole Master and right click on it and choose properties and under the general tab see if the "Coordinates include Z values. Used to store 3D data." has a check next to it.
0 Kudos
AlanHope
Occasional Contributor
Alan,

   In ArcCatalog find the feature Pole Master and right click on it and choose properties and under the general tab see if the "Coordinates include Z values. Used to store 3D data." has a check next to it.

This option is unchecked
I also verified and the manholes are configured the same way (Manholes are functional)
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   Have you tried to only having the Pole Master layer listed in the IdentifyWidget.xml?
0 Kudos
AlanHope
Occasional Contributor
Alan,

   Have you tried to only having the Pole Master layer listed in the IdentifyWidget.xml?


Robert
I tried the following after clearing the REST cache and the browser cache - and got nothing presented in the widget after drawing a rectangle around 2 points, I also attempted with the point selector and got nothing in the results.
<layers onlythese="true">
  <!-- <layer>
   <name>Manholes</name>
   <fields>UGS_ID,NEIGHBORHO</fields>
   <links>
    <link includeinresults="false" field="" alias="">
     <linkprefix></linkprefix>
     <linksuffix></linksuffix>
     <iconfield></iconfield>
     <iconprefix></iconprefix>
     <iconsuffix></iconsuffix>
    </link>
   </links>
   <zoomscale>2000</zoomscale>
   <forcescale>false</forcescale>
  </layer> -->
    <layer>
   <name>Pole Master</name>
   <fields>POLEID,OWNERSHIP,MUNI</fields>
   <links>
    <link includeinresults="false" field="" alias="">
     <linkprefix></linkprefix>
     <linksuffix></linksuffix>
     <iconfield></iconfield>
     <iconprefix></iconprefix>
     <iconsuffix></iconsuffix>
    </link>
   </links>
   <zoomscale>2000</zoomscale>
   <forcescale>false</forcescale>
  </layer>
 </layers>

I uncomment the Manholes section and get manholes results? I'm confused (although this is a normal state of affairs!!) 🙂
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   Try leaving the manholes commented out but change the onlythese to false and see what happens.
0 Kudos
AlanHope
Occasional Contributor
Alan,

   Try leaving the manholes commented out but change the onlythese to false and see what happens.


Tried this
 <layers onlythese="false">
<!--<layer>
   <name>Manholes</name>
   <fields>UGS_ID,NEIGHBORHO</fields>
   <links>
    <link includeinresults="false" field="" alias="">
     <linkprefix></linkprefix>
     <linksuffix></linksuffix>
     <iconfield></iconfield>
     <iconprefix></iconprefix>
     <iconsuffix></iconsuffix>
    </link>
   </links>
   <zoomscale>2000</zoomscale>
   <forcescale>false</forcescale>
  </layer> -->
    <layer>
   <name>Pole Master</name>
   <fields>POLEID,OWNERSHIP,MUNI</fields>
   <links>
    <link includeinresults="false" field="" alias="">
     <linkprefix></linkprefix>
     <linksuffix></linksuffix>
     <iconfield></iconfield>
     <iconprefix></iconprefix>
     <iconsuffix></iconsuffix>
    </link>
   </links>
   <zoomscale>2000</zoomscale>
   <forcescale>false</forcescale>
  </layer>
 </layers>

and here is what I got
[ATTACH=CONFIG]11041[/ATTACH]
Which makes me think that may XML is not getting parsed correctly??
0 Kudos