Spatially Adjusted

Geospatial Technology, Web Mapping and Spatial Services

  • Home
  • Colophon
  • Contact
Posts Comments
  • GIS
  • ESRI
    • ArcGIS Desktop
    • ArcGIS Server
    • ArcGIS Explorer
    • ESRI Developer Network
    • ArcIMS
  • Open Source
  • Google
    • Google Earth

GSS – Style your web maps with CSS client side

May 22, 2009 2 Comments

As Steve pointed out, this is does deserve two exclamation points!!

Just like CSS for styling web pages, GSS is a specification for designing maps. Adapted for dynamic data sources, GSS can define changing geographic elements, display multiple datasets, and even respond to contextual tags like “condition:poor”.

Very tasty!  Just look at this simple GSS and how you can render maps on the client.

body: {
fillStyle: "#fff",
lineWidth: 0,
},

node: {
fillStyle: "#ddd",
strokeStyle: "#090",
lineWidth: 0,
radius: 1
},

way: {
strokeStyle: function() {
return "rgba(1,1,1,0.7)"
//return color_from_string(this.user)
},
strokeStyle: "#ccc",
lineWidth: 3
},

leisure: {
fillStyle: "#2a2",
lineWidth: 3,
strokeStyle: "#181"
}

Previous conversation about styling GIS data.

Share this:

Filed under GIS Tagged with Cartography, CSS, geomonkey, metadata, ogc, SLD

Sharing Cartography

April 21, 2009 62 Comments

There are tons of ways to store spatial data, but sharing cartography is much harder. ESRI seems to be using their new Layer Package “format” to keep the ESRI layer file with the datasets. Outside of that I don’t really see much in the way for cartography support with data layers (other than the odd ESRI LYR file offered up on FTP sites). In a way, there is much to like about ESRI’s decision to use essentially a sidecar file for storing symbology and maybe there is a more open method of sharing this information.

Most of the time when you download data, you just get the raw file format (usually shapefiles). You then drag your new downloaded dataset to your viewer (possibly ArcView, maybe uDig) and then you proceed to try and figure out how to color the map up (of course there is no metadata so you can’t figure out what field you should symbolize on) in an attempt to match that PDF of a scanned map that someone gave you.  Wouldn’t it be better if there was included symbology that allowed you to view that data layer the way the author intended?

Well as I said, ESRI’s Layer Package format does this.  The Layer file is of course a problem because you need ArcObjects to read it.  But in an ESRI world, that isn’t too much of a problem.  Outside of an ESRI world, maybe the MapServer Mapfile might be the best way to get symbology information in (heck you can write out a Mapfile from ESRI, let alone all those open source clients).  Some have said KML is that format.  I disagree because it doesn’t lend itself to storing attribute information (maybe there are ways, but I still question if KML should be used this way).  At least KML does store simple symbology with the dataset.

Ron Lake offers up SLD/SE as an option, but acknowleges that it really has no traction.  I really haven’t seen SLD used much beyond some GeoServer documentation and I’ve not seen anyone try and use SLD for storing cartography in desktop clients (NOTE: According to comments uDig does support SLD, but not be default which is a good starting point).  Sean Gillies thinks CSS is the best option but again we run into the issues of desktop clients not supporting it and probably won’t (though Sean gets GeoMonkey cred for continuing to use the term “GeoWeb” every chance he gets).

What about Mapnik?  It does a superb job at rendering great maps and Andrew Turner says there is a project that can convert CSS into Mapnik.  Now that might be a workflow.  CSS is very easy to edit and and work with and  Mapnik is great at rendering cartography (and could easily be supported by desktop clients).  CSS gets stored as a sidecar file to the dataset and the rich cartography can be read with Mapnik to render the maps as the author wishes the maps to look.  Maybe Sean is on to something after all…

If we are going to go out on the GeoWeb wall of death, well need a sidecar.

If we are going to go out on the GeoWeb wall of death, we'll need a sidecar.

Share this:

Filed under GIS Tagged with arcview, Cartography, CSS, ESRI, ESRI Layer File, geomonkey, kml, Layer Package, Mapfile, Mapnik, Mapserver, metadata, ogc, sharing, sidecars, SLD, uDig

FortiusOne GeoCommons Finder! is now Public Beta

July 8, 2008 18 Comments

I’ve recieved an email saying that the great GeoCommons Finder! is now public beta. Many were very interested when it was announced so if you’ve been waiting for an invite to the private beta, you no longer have to wait. Sign up, check out the user manual, and give feedback.

I love Finder! and how it makes searching for data and learning more about the data easy. You got to check it out. This stuff is easy to use if you know nothing about GIS and it provides enough value to GIS professionals who want to get more data and have it documented for their use.


Brilliant!

Share this:

Filed under GIS Tagged with Finder!, FortiusOne, GeoCommons, metadata

I'm James Fee: Chief Evangelist for WeoGeo, creator of Planet Geospatial and baseball fanatic.

About • Contact • Twitter • RSS
Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights.

This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion and probably incorrect.

Twitter Updates

  • The United States visualized by distance to nearest McDonald's: http://t.co/ITfXAJdF 12 hours ago
  • There is always just enough drama in OSGeo mailing lists to keep me coming back. 13 hours ago
  • The alternate anthem for Arizona. Last of the 48 states to gain statehood, Feb 14, 1912. http://t.co/YcNX6O4V 16 hours ago
  • RT @SparkyArizonaSt: Happy 100th Birthday to the State of Arizona! http://t.co/xUJTeFJL #SunDevilPride 18 hours ago
  • Arizona celebrates a century of statehood http://t.co/0p91UmE1 21 hours ago
Follow @cageyjames
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Blog at WordPress.com.

Theme: Enterprise by StudioPress.