OpenEarthView issueshttps://framagit.org/pizaninja/OpenEarthView/-/issues2017-04-12T15:38:49Zhttps://framagit.org/pizaninja/OpenEarthView/-/issues/11viewer-geoX3d - geoviewpoint2017-04-12T15:38:49Zcigoneviewer-geoX3d - geoviewpoint<pre>
Clement,
I have a simple example at http://tools.realism.com/x3d-examples/EarthNavigation/index.html. This does everything except the 2D rotation. I put this together in about 1 hour using existing stock X3D/X3DOM capabilities....<pre>
Clement,
I have a simple example at http://tools.realism.com/x3d-examples/EarthNavigation/index.html. This does everything except the 2D rotation. I put this together in about 1 hour using existing stock X3D/X3DOM capabilities.
To reproduce the 2D rotation, the control+buttons event would need to be captured prior to the existing Navigation and the proper orientation algorithm applied. I don't have the time to work on this right now. I would start with seeing if jQuery could capture a button down event on the <scene> tag (id='x3dScene' in this example) prior to Navigation getting it. The it becomes a simple matter of applying the correct algorithm based on the starting position and the current cursor position in the X3D window.
At this time I am having a hard time trying to figure out the conditions when you would want to use the feature to change the ground-plane orientation. If you could describe a situation when this would be useful (or needed), I may be able to develop an alternative.
If you want to just be able to "straighten-up" the Earth so that North is vertical while keeping the same lat/long in the center of the screen, then an HTML button could be used to perform this reorientation. That would involve changing the 'orientation' field in the Viewpoint node (in EarthNavigator.x3d). The hardest part is figuring out the new rotation angle and vectors.
Leonard Daly
</pre>
<pre>
Hi Clément,
since X3DOM is not primarily a system for geospatial visualization, I
guess it will not be able to compete with Cesium or Google Earth for
this specific use case.
However, I am wondering if three.js would do any better, since it is
also not specialized in geospatial visualization, and I would really be
surprised if it would have a built-in navigation mode that does exactly
what you want...
With that said, it might be worth pointing out that you can always write
your own navigation, by disabling X3DOMs navigation (setting it to NONE)
and using standard DOM event handlers. You can access (and manipulate)
the view matrix via the runtime API:
http://doc.x3dom.org/author/runtime.html#viewMatrix
Best Regards,
Max
</pre>https://framagit.org/pizaninja/OpenEarthView/-/issues/20For demo, center map on whole Paris2017-04-12T15:38:49ZcigoneFor demo, center map on whole ParisKilimandjarocigonecigonehttps://framagit.org/pizaninja/OpenEarthView/-/issues/10viewer-flat-x3dom - history.replaceState2017-04-12T15:38:49Zcigoneviewer-flat-x3dom - history.replaceStateExploit history.replaceState feature to be able to easily retrieve geographical reference point.Exploit history.replaceState feature to be able to easily retrieve geographical reference point.https://framagit.org/pizaninja/OpenEarthView/-/issues/19Add scale2017-04-12T15:38:49ZChristophe BertrandAdd scaleAdd field to display current scale. Center bottomAdd field to display current scale. Center bottomKilimandjarocigonecigonehttps://framagit.org/pizaninja/OpenEarthView/-/issues/8osmCache - web service2017-04-12T15:38:49ZcigoneosmCache - web serviceProvide a cache service to load osm data only onceProvide a cache service to load osm data only oncehttps://framagit.org/pizaninja/OpenEarthView/-/issues/14viewer-earth - Button to share camera position2017-04-12T15:38:49Zcigoneviewer-earth - Button to share camera positionAs a user, I'd like to share a camera view.
So a button would be convenient to get an url able to set camera position:
* longitude,
* latitude,
* elevation,
* theta angle,
* phi angle.
As examples:
* http://demo.f4map.com/#lat=...As a user, I'd like to share a camera view.
So a button would be convenient to get an url able to set camera position:
* longitude,
* latitude,
* elevation,
* theta angle,
* phi angle.
As examples:
* http://demo.f4map.com/#lat=45.9707804&lon=-0.5078086&zoom=20&camera.theta=80&camera.phi=-63.885
* http://www.openstreetmap.org/relation/3635050#map=17/39.10296/-84.50559Everesthttps://framagit.org/pizaninja/OpenEarthView/-/issues/6viewer-flat-x3dom - use X3DJSONLD natively2017-04-12T15:38:49Zcigoneviewer-flat-x3dom - use X3DJSONLD nativelyhttps://framagit.org/pizaninja/OpenEarthView/-/issues/5osm2x3d - json osm - rely json osm format provide by overpass api2017-04-12T15:38:49Zcigoneosm2x3d - json osm - rely json osm format provide by overpass apiThe goal is to no more rely on xml osm format as data input.
<pre>
Valère Dunand
Mar 14 (5 days ago)
to Clement
Translate message
Turn off for: French
Tu as inversé latitude avec longitude. Cette url fonctionne :
http...The goal is to no more rely on xml osm format as data input.
<pre>
Valère Dunand
Mar 14 (5 days ago)
to Clement
Translate message
Turn off for: French
Tu as inversé latitude avec longitude. Cette url fonctionne :
http://overpass-api.de/api/interpreter?data=[out:json];node(40.74725696280421,-73.9874267578125,40.74829735476796,-73.98605346679688);out;
Le 13 mars 2016 à 17:58, Clement IGONET <clement@igonet.fr> a écrit :
Salut Valère,
Saurais-tu me dire pourquoi la requête suivante me retourne un
document "vide" ?
Requête:
==========
wget -O target.osm
"http://overpass-api.de/api/interpreter?data=[out:json];node(-73.9874267578125,40.74725696280421,-73.98605346679688,40.74829735476796);out
body;"
==========
Document retourné:
==========
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="Overpass API">
<note>The data included in this document is from
www.openstreetmap.org. The data is made available under ODbL.</note>
<meta osm_base="2016-03-13T16:55:02Z"/>
</osm>
==========
Pour info, la requête équivalente sur l'API overpass d'OSM me rapporte
tout un tas de données:
==========
wget "http://www.openstreetmap.org/api/0.6/map?bbox=-73.9874267578125,40.74725696280421,-73.98605346679688,40.74829735476796"
-O result.osm
==========
Clément.
</pre>https://framagit.org/pizaninja/OpenEarthView/-/issues/3osm2x3d - roof modeling - pyramidal roof feature2017-04-12T15:38:49Zcigoneosm2x3d - roof modeling - pyramidal roof featureRequirement: Add pyramidal roof feature
Solution: Keep the same algorithm as there: https://github.com/clement-igonet/osm2x3d/blob/master/src/main/c%2B%2B/My3DRoof.cpp
Requirement: Add pyramidal roof feature
Solution: Keep the same algorithm as there: https://github.com/clement-igonet/osm2x3d/blob/master/src/main/c%2B%2B/My3DRoof.cpp
https://framagit.org/pizaninja/OpenEarthView/-/issues/2viewer-flat-x3dom - Provide a X3D geospatial solution (3D tile and viewer)2017-04-12T15:38:49Zcigoneviewer-flat-x3dom - Provide a X3D geospatial solution (3D tile and viewer)Hi Clement,
If you want to use the geospatial component, you could replace the Polyline2D with Lineset and GeoCoordinates. The Transform is then not needed.
It is more tricky to replace the Extrusion node since there is no equivale...Hi Clement,
If you want to use the geospatial component, you could replace the Polyline2D with Lineset and GeoCoordinates. The Transform is then not needed.
It is more tricky to replace the Extrusion node since there is no equivalent GeoExtrusion available. You would have to use IndexedFaceSet. The GeoCoordinates would list the footprint coordinates at ground level and at roof level. Then you need to construct the indices defining the polygons (quads would be easier than triangles). This is easier than it may sound.
Andreascigonecigonehttps://framagit.org/pizaninja/OpenEarthView/-/issues/1viewer-flat-x3dom - Improve existing navigation2017-04-12T15:38:49Zcigoneviewer-flat-x3dom - Improve existing navigationHi Clément,
since X3DOM is not primarily a system for geospatial visualization, I
guess it will not be able to compete with Cesium or Google Earth for
this specific use case.
However, I am wondering if three.js would do any better,...Hi Clément,
since X3DOM is not primarily a system for geospatial visualization, I
guess it will not be able to compete with Cesium or Google Earth for
this specific use case.
However, I am wondering if three.js would do any better, since it is
also not specialized in geospatial visualization, and I would really be
surprised if it would have a built-in navigation mode that does exactly
what you want...
With that said, it might be worth pointing out that you can always write
your own navigation, by disabling X3DOMs navigation (setting it to NONE)
and using standard DOM event handlers. You can access (and manipulate)
the view matrix via the runtime API:
http://doc.x3dom.org/author/runtime.html#viewMatrix
Best Regards,
Maxcigonecigonehttps://framagit.org/pizaninja/OpenEarthView/-/issues/18Tiles alignment trouble2017-12-22T13:15:54ZChristophe BertrandTiles alignment troubleSteps to reproduce : Use right mouse button to perform lateral navigation. Some scale/alignment occurs on tiles.Steps to reproduce : Use right mouse button to perform lateral navigation. Some scale/alignment occurs on tiles.Anapurnacigonecigonehttps://framagit.org/pizaninja/OpenEarthView/-/issues/17OpenEarthView HMI2017-12-22T13:15:55ZChristophe BertrandOpenEarthView HMI* Logo - General menu - General display parameter window (expandable) - Center top
* Navigation tools - Scale - Coordinates - Bussol - +/- zoom
* Left menu - Icons for layers - expandable window to each layer
* Building localizati...* Logo - General menu - General display parameter window (expandable) - Center top
* Navigation tools - Scale - Coordinates - Bussol - +/- zoom
* Left menu - Icons for layers - expandable window to each layer
* Building localization and details, customs informationsKilimandjaroChristophe BertrandChristophe Bertrandhttps://framagit.org/pizaninja/OpenEarthView/-/issues/15viewer-earth - Add a compass to help navigation2017-12-22T13:15:55Zcigoneviewer-earth - Add a compass to help navigationAs a user, I'd like to view m orientation with a compass.As a user, I'd like to view m orientation with a compass.Anapurnahttps://framagit.org/pizaninja/OpenEarthView/-/issues/13viewer-earth2017-12-22T13:15:55Zcigoneviewer-earthSet a cubemap.
One for low zoom, one for high zoom.
Set a cubemap.
One for low zoom, one for high zoom.
Kilimandjarohttps://framagit.org/pizaninja/OpenEarthView/-/issues/12viewer-earth - zoom in/out on double clic.2017-12-22T13:15:55Zcigoneviewer-earth - zoom in/out on double clic.On left double clic, zoom in and focus in cursor position.
On right double clic, zoom out.
On left double clic, zoom in and focus in cursor position.
On right double clic, zoom out.
Anapurnahttps://framagit.org/pizaninja/OpenEarthView/-/issues/9osmCache - update strategy2017-12-22T13:15:55ZcigoneosmCache - update strategyImplement a strategic way to update cache dataImplement a strategic way to update cache dataAnapurnahttps://framagit.org/pizaninja/OpenEarthView/-/issues/7srtmTile - create an elevation web service2017-12-22T13:15:55ZcigonesrtmTile - create an elevation web serviceRelying on data available from NASA, provide tile elevation grid.
Possible formats:
- geojson (cf https://github.com/Turfjs/turf-square-grid)
- json (any standard ?)Relying on data available from NASA, provide tile elevation grid.
Possible formats:
- geojson (cf https://github.com/Turfjs/turf-square-grid)
- json (any standard ?)Everesthttps://framagit.org/pizaninja/OpenEarthView/-/issues/4osm2x3d - three.js - Implement JSON Geometry format 4 output2017-12-22T13:15:55Zcigoneosm2x3d - three.js - Implement JSON Geometry format 4 outputThis aims to provide a "native" JSON format for three.js
Description here: https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4
This aims to provide a "native" JSON format for three.js
Description here: https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4