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
Thanks
– Jules
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
Thanks
– Jules
On Sat, Mar 17, 2012 at 5:38 AM, Jules Kouadio <sekedoua@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
–
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de
Thank Daniel.
But How get/obtain this value in my .osm file :
center: [ ?, ?],
Jules
2012/3/17 Daniel Kastl <daniel@georepublic.de>
On Sat, Mar 17, 2012 at 5:38 AM, Jules Kouadio <sekedoua@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users–
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
–
On Sat, Mar 17, 2012 at 4:42 PM, Jules Kouadio <sekedoua@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@georepublic.de>
On Sat, Mar 17, 2012 at 5:38 AM, Jules Kouadio <sekedoua@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users–
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users–
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
–
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de