Shape files import comes up in the wrong location in QGIS
Hello With Xavier promising great things with style sheets for shp files ;-) I thought I should take a look at using shp files. I'm making progress with QGIS, it is a little confusing, so there are so many things I could have done wrong, plus I still really do not know what to search for when something does go wrong. On QGIS I've successfully imported therions kml file and the 3d produced using https://github.com/patrickbwarren/qgis3-survex-import Both of these appear about where I would expect them. When I import the .shp as a directory I'm given 4 options I don't really understand. However it appears in the sea, off the coast of Africa, I can change the projection CRS, but then it is still off the coast, but this time near the Silly Isles, so close to 0,0 for the OSGB grid. Which suggests to me that the file contains local co-ordinates of the map square ST which is how I inputted them. So why do the kml and the 3d import work in the right place and the shp not work? What am I missing? I'm sure this must have come up before in the mailing list, however, I cannot find it! I'm using http://www.cave-registry.org.uk/svn/CheddarCatchment/Goughs/ the thconfig_plan file Has been edited locally to have the following exports export map -proj plan -layout local -o Goughs_Plan.pdf export map -proj plan -layout local -o Goughs_Plan.kml export map -proj plan -layout local -o Goughs_Plan.bbox export map -proj plan -layout local -o Goughs_Plan.shp export model -o Goughsth.3d Andrew
Hi, georeferencing data for shapefiles are currently not supported for OSGB:xx coordinate systems, but the fix is planned. For now, just select utm30 as an output coordinate system (in the thconfig_plan use the line cs utm30 before exporting shp maps). Cheers Martin On Fri, Oct 25, 2024 at 1:43 PM Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Hello
With Xavier promising great things with style sheets for shp files ;-) I thought I should take a look at using shp files.
I'm making progress with QGIS, it is a little confusing, so there are so many things I could have done wrong, plus I still really do not know what to search for when something does go wrong.
On QGIS I've successfully imported therions kml file and the 3d produced using
https://github.com/patrickbwarren/qgis3-survex-import
Both of these appear about where I would expect them.
When I import the .shp as a directory I'm given 4 options I don't really understand. However it appears in the sea, off the coast of Africa, I can change the projection CRS, but then it is still off the coast, but this time near the Silly Isles, so close to 0,0 for the OSGB grid. Which suggests to me that the file contains local co-ordinates of the map square ST which is how I inputted them.
So why do the kml and the 3d import work in the right place and the shp not work? What am I missing? I'm sure this must have come up before in the mailing list, however, I cannot find it!
I'm using
http://www.cave-registry.org.uk/svn/CheddarCatchment/Goughs/
the thconfig_plan file
Has been edited locally to have the following exports
export map -proj plan -layout local -o Goughs_Plan.pdf export map -proj plan -layout local -o Goughs_Plan.kml export map -proj plan -layout local -o Goughs_Plan.bbox export map -proj plan -layout local -o Goughs_Plan.shp export model -o Goughsth.3d
Andrew _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Thank you, I did think of changing the cs output. I really should have tried it. I could not (well still cannot) understand why the kml was right but shp wrong. I naively assumed they would use the same code behind the scenes! Andrew On 27 October 2024 19:12:30 GMT, Martin Budaj <m.budaj@gmail.com> wrote:
Hi,
georeferencing data for shapefiles are currently not supported for OSGB:xx coordinate systems, but the fix is planned.
For now, just select utm30 as an output coordinate system (in the thconfig_plan use the line cs utm30 before exporting shp maps).
Cheers Martin
On Fri, Oct 25, 2024 at 1:43 PM Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Hello
With Xavier promising great things with style sheets for shp files ;-) I thought I should take a look at using shp files.
I'm making progress with QGIS, it is a little confusing, so there are so many things I could have done wrong, plus I still really do not know what to search for when something does go wrong.
On QGIS I've successfully imported therions kml file and the 3d produced using
https://github.com/patrickbwarren/qgis3-survex-import
Both of these appear about where I would expect them.
When I import the .shp as a directory I'm given 4 options I don't really understand. However it appears in the sea, off the coast of Africa, I can change the projection CRS, but then it is still off the coast, but this time near the Silly Isles, so close to 0,0 for the OSGB grid. Which suggests to me that the file contains local co-ordinates of the map square ST which is how I inputted them.
So why do the kml and the 3d import work in the right place and the shp not work? What am I missing? I'm sure this must have come up before in the mailing list, however, I cannot find it!
I'm using
http://www.cave-registry.org.uk/svn/CheddarCatchment/Goughs/
the thconfig_plan file
Has been edited locally to have the following exports
export map -proj plan -layout local -o Goughs_Plan.pdf export map -proj plan -layout local -o Goughs_Plan.kml export map -proj plan -layout local -o Goughs_Plan.bbox export map -proj plan -layout local -o Goughs_Plan.shp export model -o Goughsth.3d
Andrew _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Andrew --
Well, KML output uses always lat-long coordinates, regardless of the output cs ;) Martin On Sun, Oct 27, 2024, 20:28 Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Thank you,
I did think of changing the cs output. I really should have tried it. I could not (well still cannot) understand why the kml was right but shp wrong. I naively assumed they would use the same code behind the scenes!
Andrew
On 27 October 2024 19:12:30 GMT, Martin Budaj <m.budaj@gmail.com> wrote:
Hi,
georeferencing data for shapefiles are currently not supported for OSGB:xx coordinate systems, but the fix is planned.
For now, just select utm30 as an output coordinate system (in the thconfig_plan use the line cs utm30 before exporting shp maps).
Cheers Martin
On Fri, Oct 25, 2024 at 1:43 PM Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Hello
With Xavier promising great things with style sheets for shp files ;-) I thought I should take a look at using shp files.
I'm making progress with QGIS, it is a little confusing, so there are so many things I could have done wrong, plus I still really do not know what to search for when something does go wrong.
On QGIS I've successfully imported therions kml file and the 3d produced using
https://github.com/patrickbwarren/qgis3-survex-import
Both of these appear about where I would expect them.
When I import the .shp as a directory I'm given 4 options I don't really understand. However it appears in the sea, off the coast of Africa, I can change the projection CRS, but then it is still off the coast, but this time near the Silly Isles, so close to 0,0 for the OSGB grid. Which suggests to me that the file contains local co-ordinates of the map square ST which is how I inputted them.
So why do the kml and the 3d import work in the right place and the shp not work? What am I missing? I'm sure this must have come up before in the mailing list, however, I cannot find it!
I'm using
http://www.cave-registry.org.uk/svn/CheddarCatchment/Goughs/
the thconfig_plan file
Has been edited locally to have the following exports
export map -proj plan -layout local -o Goughs_Plan.pdf export map -proj plan -layout local -o Goughs_Plan.kml export map -proj plan -layout local -o Goughs_Plan.bbox export map -proj plan -layout local -o Goughs_Plan.shp export model -o Goughsth.3d
Andrew ------------------------------ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
------------------------------ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Andrew --
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Andrew, check the latest commit, OSGB:xx should now work for SHP exports. It should be also much more precise in conversions to other coordinate systems. M. On Sun, Oct 27, 2024, 20:28 Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Thank you,
I did think of changing the cs output. I really should have tried it. I could not (well still cannot) understand why the kml was right but shp wrong. I naively assumed they would use the same code behind the scenes!
Andrew
On 27 October 2024 19:12:30 GMT, Martin Budaj <m.budaj@gmail.com> wrote:
Hi,
georeferencing data for shapefiles are currently not supported for OSGB:xx coordinate systems, but the fix is planned.
For now, just select utm30 as an output coordinate system (in the thconfig_plan use the line cs utm30 before exporting shp maps).
Cheers Martin
On Fri, Oct 25, 2024 at 1:43 PM Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Hello
With Xavier promising great things with style sheets for shp files ;-) I thought I should take a look at using shp files.
I'm making progress with QGIS, it is a little confusing, so there are so many things I could have done wrong, plus I still really do not know what to search for when something does go wrong.
On QGIS I've successfully imported therions kml file and the 3d produced using
https://github.com/patrickbwarren/qgis3-survex-import
Both of these appear about where I would expect them.
When I import the .shp as a directory I'm given 4 options I don't really understand. However it appears in the sea, off the coast of Africa, I can change the projection CRS, but then it is still off the coast, but this time near the Silly Isles, so close to 0,0 for the OSGB grid. Which suggests to me that the file contains local co-ordinates of the map square ST which is how I inputted them.
So why do the kml and the 3d import work in the right place and the shp not work? What am I missing? I'm sure this must have come up before in the mailing list, however, I cannot find it!
I'm using
http://www.cave-registry.org.uk/svn/CheddarCatchment/Goughs/
the thconfig_plan file
Has been edited locally to have the following exports
export map -proj plan -layout local -o Goughs_Plan.pdf export map -proj plan -layout local -o Goughs_Plan.kml export map -proj plan -layout local -o Goughs_Plan.bbox export map -proj plan -layout local -o Goughs_Plan.shp export model -o Goughsth.3d
Andrew ------------------------------ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
------------------------------ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Andrew --
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (2)
-
Andrew Atkinson -
Martin Budaj