Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linestring start/end points opposite between OL3 and Cesium #126

Closed
ramotswa opened this issue Nov 28, 2014 · 2 comments
Closed

Linestring start/end points opposite between OL3 and Cesium #126

ramotswa opened this issue Nov 28, 2014 · 2 comments

Comments

@ramotswa
Copy link

Hey all,

I took a copy of the vectors example
http://www.openlayers.org/ol3-cesium/examples/vectors.html

I removed most of the vectors because I'm mainly interested in Linestrings - and the only feature I have in it is the following

{
            'type': 'Feature',
            'geometry': {
              'type': 'LineString',
              'coordinates': [[-15000000, 0, 1000000], [15000000, 0, 1000000]]
            }
          }

So a long line along the equator that starts within the dateline (i made sure of that) West of South America, and finishes north of Papau.

On the 2d map this line crosses Africa as expected, however when I switch to the 3D view the line actually starts in Papau, and goes East over the Pacific.

I tried to make a jsfiddle for this, (http://jsfiddle.net/hp7z2pun/) but it's not working.. presumably because I can't load the js files? Not sure - sorry.

Is this an issue / bug or my stupidness?

Thanks,
Ramo

@gberaudo
Copy link
Member

Hi,

I guess the issue is in Cesium, and linked to the IDL.

You should try to reproduce in Cesium Sandcastle:
http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Polylines.html&label=Showcases

Cheers,

Guillaume Beraudo
Camptocamp Engineer

@gberaudo
Copy link
Member

gberaudo commented Dec 9, 2014

There is a CesiumGS/cesium#2313 related to imagery providers (rasters). Have you been able to reproduce the issue on sandcastle?

Closing the issue, reopen if you have more information.

@gberaudo gberaudo closed this as completed Dec 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants