strange problem using v.out.ogr
Michael Barton <[email protected]> Mon, 24 May 2021 23:23:24 +0000
| Newsgroups | gmane.comp.gis.grass.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2850607814444252873== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_F13CD4480A7B4E0D8215561BD392B1D9asuedu_" --_000_F13CD4480A7B4E0D8215561BD392B1D9asuedu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Using a very recently compiled GRASS 7.9 I imported a gpkg vector area. This went fine AFAICT. It imported into the = correct location. (ETRS89 Zone 30) I want to export it to shapefile format. When I try to export it to *any* format, I get the following error: ERROR 10: Pointer 'hSRS' is NULL in 'OSRImportFromWkt'. ERROR: Unable to create OGR spatial reference I've checked the projection info and it seems fine and does not raise any e= rror or warning. I tried exporting a map from the NC demo data and it expor= ted fine. Any idea what is wrong? Michael _____________________________ C. Michael Barton Director, Center for Social Dynamics & Complexity Director, Network for Computational Modeling in Social & Ecological Science= s Associate Director, School of Complex Adaptive Systems Professor, School of Human Evolution & Social Change Arizona State University Tempe, AZ 85287-2402 USA voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC) fax: 480-965-7671(SHESC), 480-727-0709 (CSDC) www: http://shesc.asu.edu, https://complexity.asu.edu, http://www.public.as= u.edu/~cmbarton --_000_F13CD4480A7B4E0D8215561BD392B1D9asuedu_ Content-Type: text/html; charset="us-ascii" Content-ID: <[email protected]> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break:= after-white-space;" class=3D""> <div class=3D"">Using a very recently compiled GRASS 7.9</div> <div class=3D""><br class=3D""> </div> I imported a gpkg vector area. This went fine AFAICT. It imported into the = correct location. (ETRS89 Zone 30) <div class=3D""><br class=3D""> </div> <div class=3D"">I want to export it to shapefile format. </div> <div class=3D""><br class=3D""> </div> <div class=3D"">When I try to export it to *any* format, I get the followin= g error:</div> <div class=3D""><br class=3D""> </div> <div class=3D"">ERROR 10: Pointer 'hSRS' is NULL in 'OSRImportFromWkt'.<br = class=3D""> ERROR: Unable to create OGR spatial reference</div> <div class=3D""><br class=3D""> </div> <div class=3D"">I've checked the projection info and it seems fine and does= not raise any error or warning. I tried exporting a map from the NC demo d= ata and it exported fine.</div> <div class=3D""><br class=3D""> </div> <div class=3D"">Any idea what is wrong?</div> <div class=3D""><br class=3D""> </div> <div class=3D"">Michael<br class=3D""> <div class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); = letter-spacing: normal; text-align: start; text-indent: 0px; text-transform= : none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: = 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space= ; line-break: after-white-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); letter-spacing: norma= l; text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration:= none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-w= hite-space;" class=3D""> <div dir=3D"auto" style=3D"text-align: start; text-indent: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class= =3D""> <div dir=3D"auto" style=3D"text-align: start; text-indent: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class= =3D""> <div dir=3D"auto" style=3D"text-align: start; text-indent: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class= =3D""> <div dir=3D"auto" style=3D"text-align: start; text-indent: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class= =3D""> <div dir=3D"auto" style=3D"text-align: start; text-indent: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class= =3D""> <div dir=3D"auto" style=3D"text-align: start; text-indent: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class= =3D""> <div style=3D"text-align: start; text-indent: 0px; word-wrap: break-word; -= webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""> <div style=3D"text-align: start; text-indent: 0px; word-wrap: break-word; -= webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""> <div style=3D"text-align: start; text-indent: 0px; word-wrap: break-word; -= webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""> <div style=3D"orphans: 2; text-align: -webkit-auto; text-indent: 0px; widow= s: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-wh= ite-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; border= -spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; orphan= s: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""> <font color=3D"#5e5e5e" class=3D""> <div style=3D"color: rgb(0, 0, 0); font-style: normal; caret-color: rgb(0, = 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; w= ord-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px; fo= nt-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-= asian: normal; font-variant-position: normal; line-height: normal; -webkit-= text-decorations-in-effect: none;" class=3D""> _____________________________</div> <div style=3D"font-variant-ligatures: normal; font-variant-east-asian: norm= al; font-variant-position: normal; line-height: normal;" class=3D""> <span style=3D"font-style: normal; font-size: 12px;" class=3D"">C. Michael = Barton <br class=3D""> Director, Center for Social Dynamics & Complexity<br class=3D""> Director, Network for Computational Modeling in Social & Ecol= ogical Sciences<br class=3D""> Associate Director, School of Complex Adaptive Systems<br class=3D""> Professor, School of Human Evolution & Social Change<br class= =3D""> Arizona State University<br class=3D""> Tempe, AZ 85287-2402<br class=3D""> USA<br class=3D""> <br class=3D""> voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br class=3D"= "> fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)<br class=3D""> www: <a href=3D"http://shesc.asu.edu" class=3D"">http://shesc.asu.edu</a>,&= nbsp;<a href=3D"https://complexity.asu.edu" class=3D"">https://complexity.a= su.edu</a>, <a href=3D"http://www.public.asu.edu/~cmbarton" class=3D""= >http://www.public.asu.edu/~cmbarton</a></span></div> </font></div> </span></div> </span></div> </span></div> </span></div> </span></div> </span></div> </span></div> </span></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <br class=3D""> </div> </body> </html> --_000_F13CD4480A7B4E0D8215561BD392B1D9asuedu_-- --===============2850607814444252873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev --===============2850607814444252873==--