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
Running into srs longer than 256 characters #32
Comments
Ah, sorry about that, I should have considered the length more carefully. As you mentioned, there is not a straightfoward way to alter this in derived models. The projcs name here is not standard and could be anything. You can run Instead of |
Ok, thank you very much. From: Brian Galey [notifications@github.com] Ah, sorry about that, I should have considered the length more carefully. As you mentioned, there is not a straightfoward way to alter this in derived models. The projcs name here is not standard and could be anything. You can run gdalsrsinfo on your projection to see the proj4 def is +proj=sinu +lon_0=0 +x_0=0 +y_0=0 +a=6371007.181 +b=6371007.181 +units=m +no_defs. Then run gdalsrsinfo on the resulting proj4 def. You can see the WKT representation contains PROJCS["unnamed", so you can use that. Ugh, nevermind, that is still 286 chars. Instead of CharField with a max length, I think I will transition to TextField here. — |
Using
I am getting
... which has 395 characters with indention removed. The
max_length
attribute is hard to override because of the abstract model class. Do you have suggestions?The text was updated successfully, but these errors were encountered: