Transform CRS of Shapefile in R Planned maintenance scheduled April 17/18, 2019 at 00:00UTC...
What do you call the main part of a joke?
old style "caution" boxes
How to find all the available tools in mac terminal?
How to Make a Beautiful Stacked 3D Plot
When was Kai Tak permanently closed to cargo service?
Is it a good idea to use CNN to classify 1D signal?
Do I really need to have a message in a novel to appeal to readers?
Can an alien society believe that their star system is the universe?
Do jazz musicians improvise on the parent scale in addition to the chord-scales?
If my PI received research grants from a company to be able to pay my postdoc salary, did I have a potential conflict interest too?
What would be the ideal power source for a cybernetic eye?
What causes the direction of lightning flashes?
Why are there no cargo aircraft with "flying wing" design?
Why didn't Eitri join the fight?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Do square wave exist?
How to tell that you are a giant?
Is there such thing as an Availability Group failover trigger?
How to compare two different files line by line in unix?
Did MS DOS itself ever use blinking text?
Why do we bend a book to keep it straight?
Maximum summed powersets with non-adjacent items
Irreducible of finite Krull dimension implies quasi-compact?
How would a mousetrap for use in space work?
Transform CRS of Shapefile in R
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I started with an AutoCAD DWG file and used FME Workbench to extract elevation data into a shapefile.
read_sf
yields:
> shapename
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4267
proj4string: +proj=longlat +ellps=clrk66 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
Trying shp_crs <- st_transform(shapename, crs=4326)
yields:
> shp_crs
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4326
proj4string: +proj=longlat +datum=WGS84 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
The data is unchanged. Only proj4string has changed. Why is this?
coordinate-system r sf
add a comment |
I started with an AutoCAD DWG file and used FME Workbench to extract elevation data into a shapefile.
read_sf
yields:
> shapename
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4267
proj4string: +proj=longlat +ellps=clrk66 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
Trying shp_crs <- st_transform(shapename, crs=4326)
yields:
> shp_crs
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4326
proj4string: +proj=longlat +datum=WGS84 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
The data is unchanged. Only proj4string has changed. Why is this?
coordinate-system r sf
add a comment |
I started with an AutoCAD DWG file and used FME Workbench to extract elevation data into a shapefile.
read_sf
yields:
> shapename
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4267
proj4string: +proj=longlat +ellps=clrk66 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
Trying shp_crs <- st_transform(shapename, crs=4326)
yields:
> shp_crs
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4326
proj4string: +proj=longlat +datum=WGS84 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
The data is unchanged. Only proj4string has changed. Why is this?
coordinate-system r sf
I started with an AutoCAD DWG file and used FME Workbench to extract elevation data into a shapefile.
read_sf
yields:
> shapename
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4267
proj4string: +proj=longlat +ellps=clrk66 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
Trying shp_crs <- st_transform(shapename, crs=4326)
yields:
> shp_crs
Simple feature collection with 41620 features and 1 field (with 757 geometries empty)
geometry type: MULTIPOLYGON
dimension: XYZ
bbox: xmin: 313368.6 ymin: 4832795 xmax: 314211.3 ymax: 4833629
epsg (SRID): 4326
proj4string: +proj=longlat +datum=WGS84 +no_defs
# A tibble: 41,620 x 2
Massing_ID geometry
<int> <MULTIPOLYGON [°]>
1 NA Z (((313962.3 4832886 6.7, 314004.9 4832898 6.7, 314000.5 4832913 6.7, 313962.3 4832...
2 NA Z (((313974.8 4832889 11.58, 313973.6 4832894 11.58, 313966.3 4832892 11.58, 313974....
3 NA Z (((313975.1 4832904 11.58, 313976.1 4832901 11.58, 313964.6 4832898 11.58, 313975....
The data is unchanged. Only proj4string has changed. Why is this?
coordinate-system r sf
coordinate-system r sf
asked 3 mins ago
ixodidixodid
14117
14117
add a comment |
add a comment |
0
active
oldest
votes
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%2f319188%2ftransform-crs-of-shapefile-in-r%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f319188%2ftransform-crs-of-shapefile-in-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