I have two csv files that are updated every 5 minutes: wind direction and
wind speed.
I am creating multiple layers from these to be used for different map
renderings in GeoServer. This includes interpolated grids, labelled
points, and rotated arrows. These are all rendered easily as individual
layers and in layer groups. However, I need to combine both wind direction
and wind speed into one point layer that allows me to do the following:
- render a "c" for speed < 2.2 mph
- render a rotated arrow (based on cardinal direction) for speed > 2.2mph
- optimally, add a color ramp to the arrows for speed
Is it possible to have an SLD or style that renders to one layer from two
separate shapefiles? If not, is there a way to user ogr to join (on shared
ids) the wind speed and wind direction layers into one layer (that has wind
speed and wind direction columns) and render as listed above?
The column names from each shapefile are exactly the same:
station, x, y, value, priority
NOTE
I've tried using the following command, but it simply appends the records
to the bottom of the file:
ogr2ogr -f "ESRI Shapefile" merge.shp ws.shp -nln merge
ogr2ogr -f "ESRI Shapefile" -update -append merge.shp wd.shp -nln merge
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Tina Callahan, [email protected]
Associate Director, Delaware Environmental Monitoring and Analysis Center
(DEMAC)
Center for Environmental Monitoring and Analysis (CEMA)
University of Delaware
302-831-6581
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users