Changes between Version 6 and Version 7 of Temperature download and load
- Timestamp:
- May 11, 2010 11:01:18 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Temperature download and load
v6 v7 50 50 == Create and Populate the geometry field == 51 51 The geometry field is populated using the Longitude and Latitude fields[[BR]] 52 Problem : I haven't yet found the spatial reference (maybe the srid is : 4326 or 4269 or 3785 or 3395...)[[BR]]52 Problem : I haven't yet found the spatial reference (maybe the srid is : 4326 - WGS84)[[BR]] 53 53 - '''Geometry for the temperature tmp''' 54 54 {{{ 55 select AddGeometryColumn('temperature','tmp','the_geom',4 269,'POINT',2);55 select AddGeometryColumn('temperature','tmp','the_geom',4326,'POINT',2); 56 56 UPDATE temperature.tmp 57 SET the_geom = ST_SetSRID(ST_Point( longitude, latitude),4 269);57 SET the_geom = ST_SetSRID(ST_Point( longitude, latitude),4326); 58 58 }}} 59 59 - '''Geometry for the temperature tmx''' 60 60 {{{ 61 select AddGeometryColumn('temperature','tmx','the_geom',4 269,'POINT',2);61 select AddGeometryColumn('temperature','tmx','the_geom',4326,'POINT',2); 62 62 UPDATE temperature.tmx 63 SET the_geom = ST_SetSRID(ST_Point( longitude, latitude),4 269);63 SET the_geom = ST_SetSRID(ST_Point( longitude, latitude),4326); 64 64 }}} 65 65 - '''Geometry for the temperature tmn''' 66 66 {{{ 67 select AddGeometryColumn('temperature','tmn','the_geom',4 269,'POINT',2);67 select AddGeometryColumn('temperature','tmn','the_geom',4326,'POINT',2); 68 68 UPDATE temperature.tmn 69 SET the_geom = ST_SetSRID(ST_Point( longitude, latitude),4 269);69 SET the_geom = ST_SetSRID(ST_Point( longitude, latitude),4326); 70 70 }}} 71 71