[pgrouting-users] Help on the workshop

Daniel Kastl daniel at georepublic.de
Sat Mar 17 03:52:17 EDT 2012


On Sat, Mar 17, 2012 at 4:42 PM, Jules Kouadio <sekedoua at gmail.com> wrote:

> Thank Daniel.
>
> But  How get/obtain this value in my .osm file :
>


Well, you need to know which point you want to take as center point.
If you know it in WGS84 projection for example, you can use PostGIS to
transform the projection to 900913 (used in the workshop example):

SELECT St_AsText(ST_Transform(ST_GeometryFromText('POINT(5
10)',4326),900913));

Of course you need to change the POINT coordinates to what you want to use.

Daniel




>
> center: [ ?, ?],
>
>
> Jules
>
>
> 2012/3/17 Daniel Kastl <daniel at georepublic.de>
>
>>
>>
>> On Sat, Mar 17, 2012 at 5:38 AM, Jules Kouadio <sekedoua at gmail.com>wrote:
>>
>>>
>>>
>>> Hi
>>>
>>> i try to apply the workshop (
>>> http://workshop.pgrouting.org/chapters/geoext_client.html)
>>>
>>> How / where  (can I) define the  extends of the area i've selected ( the
>>> .osm file  comming from open street map ) in my html file
>>>
>>
>> It's defined as "center" + "zoom" settings of the map in the OpenLayers
>> map options:
>>
>> center: [-11685000, 4827000],
>> zoom: 12,
>>
>> Daniel
>>
>>
>>
>>
>>
>>>
>>>
>>> Thanks
>>>
>>>
>>> -- Jules
>>> *
>>> *
>>>
>>>
>>>
>>> _______________________________________________
>>> Pgrouting-users mailing list
>>> Pgrouting-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>>
>>>
>>
>>
>> --
>> Georepublic UG & Georepublic Japan
>> eMail: daniel.kastl at georepublic.de
>> Web: http://georepublic.de
>>
>> _______________________________________________
>> Pgrouting-users mailing list
>> Pgrouting-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>
>>
>
>
> --
> *
> *
>
>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
>


-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20120317/3f66a148/attachment.html


More information about the Pgrouting-users mailing list