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;
}







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?









share





























    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?









    share

























      0












      0








      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?









      share














      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





      share












      share










      share



      share










      asked 3 mins ago









      ixodidixodid

      14117




      14117






















          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
          });


          }
          });














          draft saved

          draft discarded


















          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
















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...