Coordinate system for shapefile, no .prj file, using R
I am trying to use the shapefiles found on this page for oil & gas data from the Netherlands: https://www.nlog.nl/en/files-interactive-map from table at the bottom with "ARC_grid" and "Google Earth (WGS84)" columns and icons.
Specifically the "Oil and gas fields" ARC_grid files (https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip)
I am using R to download, read and plot the shapefile. I am able to do this OK, but the shapefile does not seem to have a coordinate reference system, I believe due to the absence of the .prj file.
The coordinates I get when I read the file in look like this:
[1,] 683985.7 5931987
[2,] 684138.5 5931975
I would like them in Lat/Long, but do not know how to find out what conversion to use initially.
I am looking for an R-based solution.
Using R, this is how I have loaded the file:
temp <- tempfile(fileext = ".zip")
download.file("https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip", destfile = temp)
filepaths <- unzip(temp)
map <- readOGR(".")
map@proj4string
# CRS arguments: NA
shapefile r
add a comment |
I am trying to use the shapefiles found on this page for oil & gas data from the Netherlands: https://www.nlog.nl/en/files-interactive-map from table at the bottom with "ARC_grid" and "Google Earth (WGS84)" columns and icons.
Specifically the "Oil and gas fields" ARC_grid files (https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip)
I am using R to download, read and plot the shapefile. I am able to do this OK, but the shapefile does not seem to have a coordinate reference system, I believe due to the absence of the .prj file.
The coordinates I get when I read the file in look like this:
[1,] 683985.7 5931987
[2,] 684138.5 5931975
I would like them in Lat/Long, but do not know how to find out what conversion to use initially.
I am looking for an R-based solution.
Using R, this is how I have loaded the file:
temp <- tempfile(fileext = ".zip")
download.file("https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip", destfile = temp)
filepaths <- unzip(temp)
map <- readOGR(".")
map@proj4string
# CRS arguments: NA
shapefile r
add a comment |
I am trying to use the shapefiles found on this page for oil & gas data from the Netherlands: https://www.nlog.nl/en/files-interactive-map from table at the bottom with "ARC_grid" and "Google Earth (WGS84)" columns and icons.
Specifically the "Oil and gas fields" ARC_grid files (https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip)
I am using R to download, read and plot the shapefile. I am able to do this OK, but the shapefile does not seem to have a coordinate reference system, I believe due to the absence of the .prj file.
The coordinates I get when I read the file in look like this:
[1,] 683985.7 5931987
[2,] 684138.5 5931975
I would like them in Lat/Long, but do not know how to find out what conversion to use initially.
I am looking for an R-based solution.
Using R, this is how I have loaded the file:
temp <- tempfile(fileext = ".zip")
download.file("https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip", destfile = temp)
filepaths <- unzip(temp)
map <- readOGR(".")
map@proj4string
# CRS arguments: NA
shapefile r
I am trying to use the shapefiles found on this page for oil & gas data from the Netherlands: https://www.nlog.nl/en/files-interactive-map from table at the bottom with "ARC_grid" and "Google Earth (WGS84)" columns and icons.
Specifically the "Oil and gas fields" ARC_grid files (https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip)
I am using R to download, read and plot the shapefile. I am able to do this OK, but the shapefile does not seem to have a coordinate reference system, I believe due to the absence of the .prj file.
The coordinates I get when I read the file in look like this:
[1,] 683985.7 5931987
[2,] 684138.5 5931975
I would like them in Lat/Long, but do not know how to find out what conversion to use initially.
I am looking for an R-based solution.
Using R, this is how I have loaded the file:
temp <- tempfile(fileext = ".zip")
download.file("https://www.nlog.nl/sites/default/files/nlog_velden_ed_1950_utm_31n_20170829.zip", destfile = temp)
filepaths <- unzip(temp)
map <- readOGR(".")
map@proj4string
# CRS arguments: NA
shapefile r
shapefile r
asked 7 hours ago
moman822moman822
1153
1153
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Go to projfinder, type in one of your coordinate points and zoom the map to where you think the point should be:
http://projfinder.com/
projfinder will then try lots of coordinate systems and for the ones that map onto your map it will list them.
you then need to use your knowledge to figure out which one its most likely to be. In this case WGS84 UTM zone 31N unless its old data that might have used a previous geodetic reference like WGS 72 - but they're pretty close together.
add a comment |
From a quick look, most other datasets on the website have a specific PRJ file - perhaps that particular one just wasn't copied over properly. I'd try copying one from a related dataset, put it in the same directory as the shapefile you need and rename it to: nlog_velden_ed_1950_utm_31n_20170829.prj.
Then you can reproject as needed in ArcGIS. I'd double check to make sure everything seems right, but I'd bet that would do it.
New contributor
add a comment |
The data appear to be projected in UTM Zone 31N, given the naming convention of the files and the coordinate values. That makes sense, as that UTM zone covers the western half of the Netherlands.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f311563%2fcoordinate-system-for-shapefile-no-prj-file-using-r%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Go to projfinder, type in one of your coordinate points and zoom the map to where you think the point should be:
http://projfinder.com/
projfinder will then try lots of coordinate systems and for the ones that map onto your map it will list them.
you then need to use your knowledge to figure out which one its most likely to be. In this case WGS84 UTM zone 31N unless its old data that might have used a previous geodetic reference like WGS 72 - but they're pretty close together.
add a comment |
Go to projfinder, type in one of your coordinate points and zoom the map to where you think the point should be:
http://projfinder.com/
projfinder will then try lots of coordinate systems and for the ones that map onto your map it will list them.
you then need to use your knowledge to figure out which one its most likely to be. In this case WGS84 UTM zone 31N unless its old data that might have used a previous geodetic reference like WGS 72 - but they're pretty close together.
add a comment |
Go to projfinder, type in one of your coordinate points and zoom the map to where you think the point should be:
http://projfinder.com/
projfinder will then try lots of coordinate systems and for the ones that map onto your map it will list them.
you then need to use your knowledge to figure out which one its most likely to be. In this case WGS84 UTM zone 31N unless its old data that might have used a previous geodetic reference like WGS 72 - but they're pretty close together.
Go to projfinder, type in one of your coordinate points and zoom the map to where you think the point should be:
http://projfinder.com/
projfinder will then try lots of coordinate systems and for the ones that map onto your map it will list them.
you then need to use your knowledge to figure out which one its most likely to be. In this case WGS84 UTM zone 31N unless its old data that might have used a previous geodetic reference like WGS 72 - but they're pretty close together.
answered 6 hours ago
SpacedmanSpacedman
23.4k23549
23.4k23549
add a comment |
add a comment |
From a quick look, most other datasets on the website have a specific PRJ file - perhaps that particular one just wasn't copied over properly. I'd try copying one from a related dataset, put it in the same directory as the shapefile you need and rename it to: nlog_velden_ed_1950_utm_31n_20170829.prj.
Then you can reproject as needed in ArcGIS. I'd double check to make sure everything seems right, but I'd bet that would do it.
New contributor
add a comment |
From a quick look, most other datasets on the website have a specific PRJ file - perhaps that particular one just wasn't copied over properly. I'd try copying one from a related dataset, put it in the same directory as the shapefile you need and rename it to: nlog_velden_ed_1950_utm_31n_20170829.prj.
Then you can reproject as needed in ArcGIS. I'd double check to make sure everything seems right, but I'd bet that would do it.
New contributor
add a comment |
From a quick look, most other datasets on the website have a specific PRJ file - perhaps that particular one just wasn't copied over properly. I'd try copying one from a related dataset, put it in the same directory as the shapefile you need and rename it to: nlog_velden_ed_1950_utm_31n_20170829.prj.
Then you can reproject as needed in ArcGIS. I'd double check to make sure everything seems right, but I'd bet that would do it.
New contributor
From a quick look, most other datasets on the website have a specific PRJ file - perhaps that particular one just wasn't copied over properly. I'd try copying one from a related dataset, put it in the same directory as the shapefile you need and rename it to: nlog_velden_ed_1950_utm_31n_20170829.prj.
Then you can reproject as needed in ArcGIS. I'd double check to make sure everything seems right, but I'd bet that would do it.
New contributor
edited 1 hour ago
Vince
14.5k32748
14.5k32748
New contributor
answered 7 hours ago
footloosietyfootloosiety
313
313
New contributor
New contributor
add a comment |
add a comment |
The data appear to be projected in UTM Zone 31N, given the naming convention of the files and the coordinate values. That makes sense, as that UTM zone covers the western half of the Netherlands.
add a comment |
The data appear to be projected in UTM Zone 31N, given the naming convention of the files and the coordinate values. That makes sense, as that UTM zone covers the western half of the Netherlands.
add a comment |
The data appear to be projected in UTM Zone 31N, given the naming convention of the files and the coordinate values. That makes sense, as that UTM zone covers the western half of the Netherlands.
The data appear to be projected in UTM Zone 31N, given the naming convention of the files and the coordinate values. That makes sense, as that UTM zone covers the western half of the Netherlands.
answered 7 hours ago
lambertjlambertj
1,8931623
1,8931623
add a comment |
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f311563%2fcoordinate-system-for-shapefile-no-prj-file-using-r%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown