Location Configuration for Points

From Earth Science Information Partners (ESIP)
Revision as of 11:17, September 2, 2010 by Erinmr (talk | contribs) (New page: {{WCS Glossary |TermDesc=From file [http://128.252.202.19:8080/static/point/point_config.py point_config.py] In it's simplest case, SQL views are used to create required location table, s...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Back to Glossary | Edit with Form

Location_Configuration_for_Points Description: [[TermDesc::From file point_config.py

In it's simplest case, SQL views are used to create required location table, so no aliasing is needed.

   location_info = {
       'location':{
           'service':'WFS',
           'version':'1.0.0',
           },
       }

These are the standard names that datafed uses:

  • The dimension name is "location".
  • No aliasing is needed, since the DB table/view and column names are standard.
  • The view/table name in the DB is "location".
  • The columns are lat", "lon" and "loc_code" and loc_code is a text type, not an integer.


In the CIRA/VIEWS case, table and fields are alised:

   VIEWS_location_info = {
       'location':{
           'service':'WFS',
           'version':'1.0.0',
           'table_alias':'Site',
           'columns':{
               'loc_code':{'column_alias':'SiteCode'},
               'lat':{'column_alias':'Latitude'},
               'lon':{'column_alias':'Longitude'},
               }
           },
       }
  • The dimension name is still "location"
  • The location table is called "Site"
  • "SiteCode", "Latitude" and "Longitude" are aliased to "loc_code", "lat" and "lon".]]

Glossary Domain: {{{Glossary Domain}}}"{{{Glossary Domain}}}" is not in the list (WCS, HTAP, AQInfrastructure) of allowed values for the "Glossary Domain" property.

Related Links

Links to this page
No Links

Contributors

No Contributors

History

No History Available

Term Details