Doubt in Field CalculatorUsing ArcMap, how may I convert a shapefile to use decimal degrees?Displaying lat...

What is the best way to simulate grief?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

Why is working on the same position for more than 15 years not a red flag?

Quenching swords in dragon blood; why?

How should I handle players who ignore the session zero agreement?

1 0 1 0 1 0 1 0 1 0 1

What happens if a wizard reaches level 20 but has no 3rd-level spells that they can use with the Signature Spells feature?

How can I improve my fireworks photography?

How do you funnel food off a cutting board?

Manipulating a general length function

Avoiding morning and evening handshakes

Why zero tolerance on nudity in space?

Cat is tipping over bed-side lamps during the night

Using only 1s, make 29 with the minimum number of digits

If I delete my router's history can my ISP still provide it to my parents?

Dilemma of explaining to interviewer that he is the reason for declining second interview

Using loops to create tables

What to do if authors don't respond to my serious concerns about their paper?

Can polymorphing monsters spam their ability to effectively give themselves a massive health pool?

The vanishing of sum of coefficients: symmetric polynomials

Am I a Rude Number?

What's the rationale behind the objections to these measures against human trafficking?

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?



Doubt in Field Calculator


Using ArcMap, how may I convert a shapefile to use decimal degrees?Displaying lat long values from XLS in ArcGIS Desktop?Correct coordinate systems, but trustworthy distance between points?How to measure correct distances in a project with OpenLayers background?Proper projected coordinate system for Minnesota for measuring areasNAD27 to NAD83, saving AFTER transformation?distance() function in field calculator gives unexpected resultsCreating a variable distance buffer in QGISApprox distance between any 2 longitudes at a given latitudeWhat geodetic reference system is QGIS using when providing latitude and longitude values for points using the field calculator?













0















I am working in an project.I have a point Shapefile its projection is NAD83(HARN)Pennslyvaniasouth(ftUS)*EPSG3365* when I measure its distance(between two points) it gives me the answer in feet .yes its acceptable for me.I also calculated its x-coordinate and y-coordinate for the points in field Calculator it displays me the answer in feet.This is the problem.In my company they are insisting me to show the LAT-LONG value in Decimal Degrees.Is it possible to show the Lat-long in Decimal degrees in QGIS?










share|improve this question

























  • It's not really clear what exactly you're trying to do. What do you mean by "calculated its lat-long"? What expression did you use in the field calculator? Do you simply want the geographic coordinates (latitude/longitude) for all the points in your layer?

    – Jake
    Nov 12 '13 at 8:56











  • @Jake let me properly explain "calculated its lat-long" means i calculated X-coordinate($X) and y-coordinate($Y) in field calculator. I am getting ($X ,$y) in feet but I want this in Decimal Degree.Is it possible to get in QGIS I am asking?

    – Arun
    Nov 12 '13 at 8:56






  • 2





    For that, you need to project your layer to a geographic coordinate system first: Select the layer, click "Layer / Save as", then choose a geographic CRS such as EPSG:4326. Then use the field calculator on this new layer to get the coordinates in latitude/longitude.

    – Jake
    Nov 12 '13 at 9:46
















0















I am working in an project.I have a point Shapefile its projection is NAD83(HARN)Pennslyvaniasouth(ftUS)*EPSG3365* when I measure its distance(between two points) it gives me the answer in feet .yes its acceptable for me.I also calculated its x-coordinate and y-coordinate for the points in field Calculator it displays me the answer in feet.This is the problem.In my company they are insisting me to show the LAT-LONG value in Decimal Degrees.Is it possible to show the Lat-long in Decimal degrees in QGIS?










share|improve this question

























  • It's not really clear what exactly you're trying to do. What do you mean by "calculated its lat-long"? What expression did you use in the field calculator? Do you simply want the geographic coordinates (latitude/longitude) for all the points in your layer?

    – Jake
    Nov 12 '13 at 8:56











  • @Jake let me properly explain "calculated its lat-long" means i calculated X-coordinate($X) and y-coordinate($Y) in field calculator. I am getting ($X ,$y) in feet but I want this in Decimal Degree.Is it possible to get in QGIS I am asking?

    – Arun
    Nov 12 '13 at 8:56






  • 2





    For that, you need to project your layer to a geographic coordinate system first: Select the layer, click "Layer / Save as", then choose a geographic CRS such as EPSG:4326. Then use the field calculator on this new layer to get the coordinates in latitude/longitude.

    – Jake
    Nov 12 '13 at 9:46














0












0








0


1






I am working in an project.I have a point Shapefile its projection is NAD83(HARN)Pennslyvaniasouth(ftUS)*EPSG3365* when I measure its distance(between two points) it gives me the answer in feet .yes its acceptable for me.I also calculated its x-coordinate and y-coordinate for the points in field Calculator it displays me the answer in feet.This is the problem.In my company they are insisting me to show the LAT-LONG value in Decimal Degrees.Is it possible to show the Lat-long in Decimal degrees in QGIS?










share|improve this question
















I am working in an project.I have a point Shapefile its projection is NAD83(HARN)Pennslyvaniasouth(ftUS)*EPSG3365* when I measure its distance(between two points) it gives me the answer in feet .yes its acceptable for me.I also calculated its x-coordinate and y-coordinate for the points in field Calculator it displays me the answer in feet.This is the problem.In my company they are insisting me to show the LAT-LONG value in Decimal Degrees.Is it possible to show the Lat-long in Decimal degrees in QGIS?







qgis coordinate-system field-calculator latitude-longitude decimal-points






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 '13 at 8:52







Arun

















asked Nov 12 '13 at 6:23









ArunArun

77721334




77721334













  • It's not really clear what exactly you're trying to do. What do you mean by "calculated its lat-long"? What expression did you use in the field calculator? Do you simply want the geographic coordinates (latitude/longitude) for all the points in your layer?

    – Jake
    Nov 12 '13 at 8:56











  • @Jake let me properly explain "calculated its lat-long" means i calculated X-coordinate($X) and y-coordinate($Y) in field calculator. I am getting ($X ,$y) in feet but I want this in Decimal Degree.Is it possible to get in QGIS I am asking?

    – Arun
    Nov 12 '13 at 8:56






  • 2





    For that, you need to project your layer to a geographic coordinate system first: Select the layer, click "Layer / Save as", then choose a geographic CRS such as EPSG:4326. Then use the field calculator on this new layer to get the coordinates in latitude/longitude.

    – Jake
    Nov 12 '13 at 9:46



















  • It's not really clear what exactly you're trying to do. What do you mean by "calculated its lat-long"? What expression did you use in the field calculator? Do you simply want the geographic coordinates (latitude/longitude) for all the points in your layer?

    – Jake
    Nov 12 '13 at 8:56











  • @Jake let me properly explain "calculated its lat-long" means i calculated X-coordinate($X) and y-coordinate($Y) in field calculator. I am getting ($X ,$y) in feet but I want this in Decimal Degree.Is it possible to get in QGIS I am asking?

    – Arun
    Nov 12 '13 at 8:56






  • 2





    For that, you need to project your layer to a geographic coordinate system first: Select the layer, click "Layer / Save as", then choose a geographic CRS such as EPSG:4326. Then use the field calculator on this new layer to get the coordinates in latitude/longitude.

    – Jake
    Nov 12 '13 at 9:46

















It's not really clear what exactly you're trying to do. What do you mean by "calculated its lat-long"? What expression did you use in the field calculator? Do you simply want the geographic coordinates (latitude/longitude) for all the points in your layer?

– Jake
Nov 12 '13 at 8:56





It's not really clear what exactly you're trying to do. What do you mean by "calculated its lat-long"? What expression did you use in the field calculator? Do you simply want the geographic coordinates (latitude/longitude) for all the points in your layer?

– Jake
Nov 12 '13 at 8:56













@Jake let me properly explain "calculated its lat-long" means i calculated X-coordinate($X) and y-coordinate($Y) in field calculator. I am getting ($X ,$y) in feet but I want this in Decimal Degree.Is it possible to get in QGIS I am asking?

– Arun
Nov 12 '13 at 8:56





@Jake let me properly explain "calculated its lat-long" means i calculated X-coordinate($X) and y-coordinate($Y) in field calculator. I am getting ($X ,$y) in feet but I want this in Decimal Degree.Is it possible to get in QGIS I am asking?

– Arun
Nov 12 '13 at 8:56




2




2





For that, you need to project your layer to a geographic coordinate system first: Select the layer, click "Layer / Save as", then choose a geographic CRS such as EPSG:4326. Then use the field calculator on this new layer to get the coordinates in latitude/longitude.

– Jake
Nov 12 '13 at 9:46





For that, you need to project your layer to a geographic coordinate system first: Select the layer, click "Layer / Save as", then choose a geographic CRS such as EPSG:4326. Then use the field calculator on this new layer to get the coordinates in latitude/longitude.

– Jake
Nov 12 '13 at 9:46










1 Answer
1






active

oldest

votes


















0














I think transform() function was not available when the question was posted (Y2013).



Now we can solve this CRS issue, just by the Field Calculator!



For Longitude: ...... x(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



For Latitude: ......... y(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



I created three random points near Philadelphia, and the transform() worked as expected. (Imported to GoogleEarth as KML and made a visual check).



enter image description here






share|improve this answer























    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%2f77162%2fdoubt-in-field-calculator%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I think transform() function was not available when the question was posted (Y2013).



    Now we can solve this CRS issue, just by the Field Calculator!



    For Longitude: ...... x(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



    For Latitude: ......... y(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



    I created three random points near Philadelphia, and the transform() worked as expected. (Imported to GoogleEarth as KML and made a visual check).



    enter image description here






    share|improve this answer




























      0














      I think transform() function was not available when the question was posted (Y2013).



      Now we can solve this CRS issue, just by the Field Calculator!



      For Longitude: ...... x(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



      For Latitude: ......... y(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



      I created three random points near Philadelphia, and the transform() worked as expected. (Imported to GoogleEarth as KML and made a visual check).



      enter image description here






      share|improve this answer


























        0












        0








        0







        I think transform() function was not available when the question was posted (Y2013).



        Now we can solve this CRS issue, just by the Field Calculator!



        For Longitude: ...... x(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



        For Latitude: ......... y(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



        I created three random points near Philadelphia, and the transform() worked as expected. (Imported to GoogleEarth as KML and made a visual check).



        enter image description here






        share|improve this answer













        I think transform() function was not available when the question was posted (Y2013).



        Now we can solve this CRS issue, just by the Field Calculator!



        For Longitude: ...... x(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



        For Latitude: ......... y(transform($geometry, 'EPSG:3365', 'EPSG:4326'))



        I created three random points near Philadelphia, and the transform() worked as expected. (Imported to GoogleEarth as KML and made a visual check).



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 11 mins ago









        KazuhitoKazuhito

        16k41882




        16k41882






























            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%2f77162%2fdoubt-in-field-calculator%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

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

            Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

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