[OpenLayers-Dev] pgRouting + OpenLayers
Paul Spencer
pspencer at dmsolutions.ca
Thu Sep 27 01:34:42 EDT 2007
Erik,
since we can publicly show it now, I can send it on the list. The
site is:
http://sandbox01.dmsolutions.ca/mapmobility/
This has a couple of unique features in how we are using OpenLayers.
The map tiles are taken directly from TIFF files produced for printed
maps and cut up using a GDAL shell script into a TMS directory
structure. At the two largest resolutions (most zoomed in), the
printed maps are rotated from true north by varying amounts depending
on location. So we use a pixel coordinate system for every
resolution and 'reproject' real world coordinates into pixel space
including a potential rotation at some resolutions. I had to do an
interesting hack to baseLayer handling to make the transition from
one rotation to another work nicely, which I would be interested in
talking to someone about at some point :) We also 'reproject' all
the point and route stuff on the fly as the rotation changes - what a
pain :)
Cheers
Paul
On 26-Sep-07, at 9:55 PM, Erik Uzureau wrote:
> Awesome work, chris!
>
> Hopefully we'll see more people who are interested in doing work with
> routing. I talked to Paul Spencer earlier today and he said that he's
> got it running live on a site too... though I never did get the chance
> to see his demo. Can you send the link, Paul?
>
> This kind of application using OpenLayers is the just the thing to
> turn heads in the non-geo world, which I think in the long run is
> helpful to establishing the project as a serious alternative to the
> big commercial competitors. Look ma, we can do it too!
>
>
>
> On 9/25/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
>> What I Learned Yesterday at FOSS4G
>> A report by Christopher Schmidt
>>
>> http://boston.freemap.in/routing.html
>>
>> Click 'set start point'
>> Click on the map
>> Click on 'set end point'
>> Click and drag across the map and watch the little red line follow
>> you.
>>
>> Thanks to Camptocamp and orkney for their presentation yesterday
>> on how
>> to do this. I'm currently working on adding data for the full
>> state of
>> Massachusetts: Right now the data is only Cambridge, so it's easy to
>> wander out of the data.
>>
>> Regards,
>> --
>> Christopher Schmidt
>> MetaCarta
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
More information about the Dev
mailing list