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

int overflow in 3.4.1 #499

Closed
calvinmetcalf opened this issue Aug 5, 2015 · 4 comments
Closed

int overflow in 3.4.1 #499

calvinmetcalf opened this issue Aug 5, 2015 · 4 comments

Comments

@calvinmetcalf
Copy link
Contributor

in version 3.4.1 (But not 3.4.0) I get the following warning

Warning 1: Integer overflow occured when trying to return 64bit integer. Use GetFieldAsInteger64() instead

when I have JavaScript dates like 1440518400000 represented as integers causing them to be truncated (and all the dates in my map be in the year 1970).

@flippmoke
Copy link
Member

That looks like a bug in our code associated with GDAL 2.0 and our gdal plugin, is that what you are using?

@calvinmetcalf
Copy link
Contributor Author

it's reading a geojson file so maybe?

@flippmoke
Copy link
Member

I am sorry this would be the OGR plugin.

@flippmoke
Copy link
Member

This has been fixed in mapnik/mapnik@161469e as the bug was in mapnik-core rather then in the node bindings this will take a little while to filter its way up stream. It will be a part of the next mapnik-core release however.

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