Tax Parcel Viewer for ArcGIS 9.3

690
4
09-07-2010 08:44 AM
TonyAlmeida
Occasional Contributor II
Has any one had success incorporate this application with there own data?  I am using Microsoft Visual Web Developer 2010 Express. I am trying to follow the instructions but i am unable to get to work right.

http://www.arcgis.com/home/item.html?id=50634273e3394140b719939322bd0f43
0 Kudos
4 Replies
derekswingley1
Frequent Contributor
Can you be more specific? What's not working? What errors are you getting?
0 Kudos
TonyAlmeida
Occasional Contributor II
Yes true..

Okay I have updated the html from the templete from 1.3 to 4.0 and to 2.0 dojo.
I replaced the config settings in the config.js but i am not seeing anything.

// config settings for the TaxParcelViewer application
// change the service urls and other properties to work with your GIS server.

function setConfigProperties(){

    var server = checkVal("http://maps1.larimer.org/ArcGIS/rest/services/");           // url for server rest services directory, ends with "/"
    var folder = checkVal("mapsCached/");                                      // url for server subFolder, normally "TaxParcel/", ends with "/"

    industryMapServiceStr = server + folder + "Basemap/MapServer";   // service for industry map
    consumerMapServiceStr = server + folder + "USGSquadOnly/MapServer"; // service for consumer map
  queryLayerStr = server + folder + "Basemap/MapServer/133";   // service for query layer (popup)
  searchLayerStr = server + folder + "Basemap/MapServer";     // service for find task (search box)
  parcelLayerNum = 0;                                                       // layer number for find task (search box)

  spRef =  new esri.SpatialReference({
    wkt : "PROJCS["NAD_1983_StatePlane_Colorado_North_FIPS_0501_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",39.71666666666667],PARAMETER["Standard_Parallel_2",40.78333333333333],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.3048006096012192]]"
  });

  startExtent = new esri.geometry.Extent(13390094, 375295, 13450548, 410878,spRef);
  fields = {
    SiteAddress : "SITEADDRESS",
    LowParcelID : "LOWPARCELID",
    ParcelID : "PARCELID",
    UseDescription : "USEDSCRP", 
    SubOrCondo : "CNVYNAME",
    Building : "BUILDING",
    Unit : "UNIT",
    TaxDistrict : "CVTTXDSCRP",
    SchoolDistrict : "SCHLDSCRP",
    OwnerName : "OWNERNME1",
    // URL : "URL"
    FloorArea : "RESFLRAREA",
    StructureType : "RESSTRTYP",
    AssessedValue : "CNTASSDVAL",
    TaxableValue : "CNTTXBLVAL", 
    CurrentTaxes : "TOTCNTTXOD"
  };
  // this is the primary key field for the tax parcel layer
  // these 2 fields are shown in the search results window on the left hand side of the app
  keyField = fields.ParcelID;
  addressField = fields.SiteAddress;
}

function setLayoutProperties(){
  // should not need to change these properties unless you make changes to the popup
  infoWindowWidth = 330;
  infoWindowHeight = 270;
  // the app will zoom to the feature extent + and - the addExtent in map units
  addExtent = 600;
}
function checkVal(strUrl){
  // check that the server URL paths end with a "/", add it if not present
  var strLen = strUrl.length;
  if( strUrl.substring(strLen-1,strLen) != "/"){
    alert(strUrl + " in config.js is missing '/' at the end of the string, automatically added");
    strUrl = strUrl + "/";
  }
  return(strUrl);
}
0 Kudos
TonyAlmeida
Occasional Contributor II
I am also receiving a bunch of warnings.

Message 2 'i' is already defined C:\GIS\JavaScript\ParcelViewer\Application\Index.html 212 18 C:\...\ParcelViewer\
Message 3 'il' is already defined C:\GIS\JavaScript\ParcelViewer\Application\Index.html 212 23 C:\...\ParcelViewer\
Warning 1 Expected ',' C:\GIS\JavaScript\ParcelViewer\Application\appFiles\Config.js 16 20 C:\...\ParcelViewer\
Warning 10 Validation (XHTML 1.0 Transitional): Attribute 'autocomplete' is not a valid attribute of element 'input'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 255 43 C:\...\ParcelViewer\
Warning 6 Validation (XHTML 1.0 Transitional): Attribute 'design' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 248 69 C:\...\ParcelViewer\
Warning 5 Validation (XHTML 1.0 Transitional): Attribute 'dojotype' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 248 29 C:\...\ParcelViewer\
Warning 8 Validation (XHTML 1.0 Transitional): Attribute 'dojotype' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 249 22 C:\...\ParcelViewer\
Warning 12 Validation (XHTML 1.0 Transitional): Attribute 'dojotype' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 264 25 C:\...\ParcelViewer\
Warning 25 Validation (XHTML 1.0 Transitional): Attribute 'dojotype' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 282 49 C:\...\ParcelViewer\
Warning 15 Validation (XHTML 1.0 Transitional): Attribute 'dojoType' is not a valid attribute of element 'table'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 14 C:\...\ParcelViewer\
Warning 22 Validation (XHTML 1.0 Transitional): Attribute 'field' is not a valid attribute of element 'th'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 275 31 C:\...\ParcelViewer\
Warning 24 Validation (XHTML 1.0 Transitional): Attribute 'field' is not a valid attribute of element 'th'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 276 31 C:\...\ParcelViewer\
Warning 7 Validation (XHTML 1.0 Transitional): Attribute 'gutters' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 248 87 C:\...\ParcelViewer\
Warning 16 Validation (XHTML 1.0 Transitional): Attribute 'jsid' is not a valid attribute of element 'table'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 45 C:\...\ParcelViewer\
Warning 4 Validation (XHTML 1.0 Transitional): Attribute 'onresize' is not a valid attribute of element 'body'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 247 22 C:\...\ParcelViewer\
Warning 27 Validation (XHTML 1.0 Transitional): Attribute 'onresize' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 282 101 C:\...\ParcelViewer\
Warning 9 Validation (XHTML 1.0 Transitional): Attribute 'region' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 249 58 C:\...\ParcelViewer\
Warning 13 Validation (XHTML 1.0 Transitional): Attribute 'region' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 264 61 C:\...\ParcelViewer\
Warning 26 Validation (XHTML 1.0 Transitional): Attribute 'region' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 282 85 C:\...\ParcelViewer\
Warning 20 Validation (XHTML 1.0 Transitional): Attribute 'rowSelector' is not a valid attribute of element 'table'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 84 C:\...\ParcelViewer\
Warning 18 Validation (XHTML 1.0 Transitional): Attribute 'rowsPerPage' is not a valid attribute of element 'table'. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 67 C:\...\ParcelViewer\
Message 21 Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 275 17 C:\...\ParcelViewer\
Message 23 Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 276 17 C:\...\ParcelViewer\
Warning 28 Validation (XHTML 1.0 Transitional): Empty elements such as 'link' must end with />. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 7 4 C:\...\ParcelViewer\
Warning 29 Validation (XHTML 1.0 Transitional): Empty elements such as 'link' must end with />. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 8 4 C:\...\ParcelViewer\
Warning 30 Validation (XHTML 1.0 Transitional): Empty elements such as 'link' must end with />. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 9 4 C:\...\ParcelViewer\
Warning 11 Validation (XHTML 1.0 Transitional): This name contains uppercase characters, which is not allowed. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 257 80 C:\...\ParcelViewer\
Warning 14 Validation (XHTML 1.0 Transitional): This name contains uppercase characters, which is not allowed. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 14 C:\...\ParcelViewer\
Warning 17 Validation (XHTML 1.0 Transitional): This name contains uppercase characters, which is not allowed. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 67 C:\...\ParcelViewer\
Warning 19 Validation (XHTML 1.0 Transitional): This name contains uppercase characters, which is not allowed. C:\GIS\JavaScript\ParcelViewer\Application\Index.html 272 84 C:\...\ParcelViewer\
0 Kudos
ChrisBuscaglia
Esri Contributor
You may want to email the Land Records team for more direct support, or post a comment on the resource center directly.  There is a XML config file that needs to be properly set up to point at your services and fields to make this work properly, and from this error it seems that this is the problem.

Attribute 'dojotype' is not a valid attribute of element 'div'. C:\GIS\JavaScript\ParcelViewer\Application\Index.h tml 264 25 C:\...\ParcelViewer\

The people on this email alias can get you going in the right direction.

arcgisteamlandrecords@esri.com

http://resources.esri.com/landrecords/index.cfm?fa=codeGalleryDetails&scriptID=16390
0 Kudos