Archive for November, 2008

Cumberland: TMS / OpenLayers support

Saturday, November 22nd, 2008

The TileProvider class and the tilepyramider tool have been updated to create tiles for the un-official Tile Map Service specification. The main reason for this is to use OpenLayers.
Check out a demo.
It's pretty simple to set up. There is a new TileConsumer, TileMapService. tilepyramider has a new 'consumer' option you [...]

ineffective mapping: an example

Monday, November 17th, 2008

So I was about to go on a little hike with my parents, and this park (like many) has a map billboard thing:
Which is good, but we walk up to it and I'm just confused. What am I a looking at? It takes me a second to orient myself. Here is the [...]

cumberland 0.1

Friday, November 14th, 2008

I posted cumberland 0.1 on the project page.
I think it's a really elegant and simple API for drawing maps, and it's also under the awesomest, most reasonable, licensing scheme there is.

Cumberland 0.1 feature complete; release forthcoming

Monday, November 10th, 2008

After a few months, the first release of cumberland will probably occur by the end of the week, All that's left is testing and documentation.
The final feature I added was subqueries support for database feature sources. This can be used for filtering. For example, say I have some road data and I [...]

Google maps tile pyramid generation with Cumberland

Sunday, November 9th, 2008

Google's api allows you to overlay your own tiles on top of theirs, so you can utilize their awesome interface and base data as a platform to overlay your own spatial data for custom apps. I have previously mentioned generating these tiles on-the-fly, but if your data doesn't change often then why bother re-rendering [...]

Cumberland: SQL Server 2008 Feature Source

Wednesday, November 5th, 2008

I wrote a SQL Server 2008 feature source today. The configuration is exactly like PostGIS:

<Data sourceType="Cumberland.Data.IDatabaseFeatureSource" sourceInstance="Cumberland.Data.SqlServer.SqlServerFeatureSource">
    <ConnectionString>Data Source=.\SQLExpress2008;Initial Catalog=spatialtest;Integrated Security=true</ConnectionString>
    <TableName>majrds_apr08</TableName>
</Data>

I had to simplify things, so all of the data in a table must be the same type (polygon, point, or line) and have the same SRID. If not it [...]

Cumberland update

Tuesday, November 4th, 2008

I have implemented some cool stuff recently in Cumberland:

The SQL Server 2008 Shapefile loader which I blogged about previously
There are now two data source backends: Shapefiles and PostGIS.
Point symbology has been extended to allow external images and both circles and squares as shape symbols.
Theming is now possible. By this I mean data in [...]

shp2sqlserver – command line shapefile loader for sql server 2008

Monday, November 3rd, 2008

There are other tools, but in the process of working on something else, I put together a command line tool for loading shapefiles into Sql Server 2008. It is modeled after PostGIS's shp2pgsql, except that it loads directly into the db instead of writing sql to stdout. Here is the usage:

shp2sqlserver.exe -h
Usage: shp2sqlserver.exe [OPTIONS]+ [...]