Questions tagged [decimal-points]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
38 views

Changing upper break value to decimal using ArcPy with ArcGIS Pro

My ArcGIS Pro custom script tool is based off of a script that changes break values from a user's input. I believe I've done all I can troubleshooting the existing script. I'm suspicious of the tool ...
1
vote
2answers
53 views

QGIS does not change y and x coordinates to decimal degrees [duplicate]

I have data for Danish administrative areas. So far I have calculated centroids and added y and x coordinates for them. However, I have not been able to convert them to decimal degrees when exporting ...
-2
votes
1answer
98 views

Accuracy of latitude and longitude based on decimal places [closed]

After reviewing various information regarding accuracy of latitude and longitude for specific decimal places, I have a question regarding the information that many have posted, such as in Measuring ...
1
vote
0answers
51 views

How to preserve imported shapefile's original precision decimals in QGIS

How can I preserve an imported shapefile's original precision decimals in QGIS? Whenever I import an ESRI shapefile into QGIS, it automatically rounds off all fields containing decimals (data type ...
0
votes
0answers
25 views

Fixed Decimal Places

Zurich 3.81 Imported photo with metafile into project. Set display label to show Attributes Lat and Lon coordinates. Set the decimal places to 8. All worked fine except some of the Lat/Lon fields when ...
2
votes
1answer
64 views

Changing number of decimal places of a String variable within a Vector Layer using PyQGIS

I have earthquake data and within the data, there are magnitude, longitude and latitude values. However, these values have around 6/7 decimal places but I would like to only have 2 decimal places for ...
1
vote
1answer
68 views

Using PyQGIS to set a mem_layer values to 2 decimal points

I am creating 12 mem_layers through a for loop and then using the zonal statistics tool for each one, to calculate a sum value. This sum value has many decimal places and I would like to reduce the ...
2
votes
1answer
144 views

What is the Earth Engine server side version of JavaScript's toFixed() function for rounding off to certain decimal places?

I want to round off an ee.Number() object to two decimal places. Right now I am using .toFixed() of JavaScript, but how to do that using a server-side function? I tried toFloat() but that doesn't help....
0
votes
2answers
970 views

Is it possible to round decimal places for float data in Google Earth Engine?

I am exporting a large amount of NDVI raster data in Google Earth Engine and was wondering if it was possible to round (my NDVI) float values to 2 decimal places as a way to decrease the size of my ...
1
vote
0answers
48 views

Numeric separators in GIS [closed]

In Spanish and Catalan, we use numeric separators the other way round: We use a comma instead of the decimal point; and a point instead of a comma to mark the thousands. English | Spanish 10.5 ...
0
votes
1answer
54 views

Using HEC-Geo RAS

i have got some weird problems with HEC-RAS 5.0.7. and i dont know why. Actually the heihgts are complety wrong. My terrain heights are rigth but for example my cutlines are completly useless. My OS ...
1
vote
2answers
155 views

Numerical fields decimals limited by default

I'm using ArcMap 10.5.1 and working from a geodatabase. I just want to limit the number of decimal numbers shown to 1. Currently 6 decimals are shown, and I know I can reduce them manually by opening ...
3
votes
1answer
91 views

Trustworthy of decimal place of converted DD from DMS?

I want -122d 54m 8.41s W (DMS) to be converted as decimal (DD). I tried two different available online converters to do the calculation. Surprisingly outputs are different. It looks like they match up ...
1
vote
1answer
801 views

Truncate coordinates (LonLat) to decimal precision

For example if coordinates are 17.12345678, -82.12345678, and I want to convert them to 3 decimal digits. Expected result: 17.123, -82.123 Is there any API in OpenLayers 2 to truncate coordinates (...
0
votes
1answer
2k views

Decimal Degrees on bottom right do not change

I added a shapefile into a new ArcMap 10.4.1 .mxd to check the coordinate system. It says Canada_Lambert_Conformal_Conic as the coordinate system. When I do the mouse-over, the decimal degrees in the ...
2
votes
0answers
3k views

Reducing decimal places in QGIS?

I'm using QGIS 2.18 (Las Palmas). I want to change the length of the decimal place, I tried the approach in How to change length to 2 decimal places? however, it still displays 13 decimal places.
4
votes
3answers
3k views

Drop decimal and decimal places without rounding in FME

Say I have 105.6546 and 5646.546356, in string or float fields, how can I drop only the decimal and values to the right of the decimal? So my final values will be 105 and 5646. Particularly within ...
0
votes
1answer
2k views

KML file showing wrong co-ordinates on Google Earth

This is little snippet from the kml file now the co-ordinates are for some where in UK with Lat- 51.45 and Long - 0.0386 but when I plot this kml file on Google Earth it shows all the points in middle ...
1
vote
0answers
51 views

Mapping negative percentage values from *.xls table in QGIS?

Trying to map some negative percentage values in QGIS. Working with a .xls table and importing this as a vector file to QGIS, then joining the file with a shapefile. Have converted negative percent ...
1
vote
2answers
712 views

Suitable raster format for elevation data with sub-meter accuracy?

I've got some elevation data represented in ascii gridded xyz-files which I want to convert to a conventional raster format. What's a bit special is that the elevation values have sub-meter accuracy, ...
2
votes
1answer
387 views

How to change decimal places when using graduated renderer?

The classifications given when I use the graduated renderer on QGIS under 'Layer Properties' are to 4 decimal places, and I would like none. I know I can use the rule based style and create my own ...
2
votes
4answers
5k views

Meter Coordinates to decimal Coordinates

I have an excel file in which I have XY coordinates, example on the attached immage that is the form XCoord | YCoord 15822.426100 | -2747650.026000 I need them in the form ...
1
vote
0answers
43 views

Limiting decimal places in data imported as .CSV and joined to shapefile using QGIS? [duplicate]

I am importing a csv into QGIS 2.4 with a csvt file that specifies for percent columns Real(2.1) to limit it to 1 decimal place. It imports fine. When I join it to a shapefile, it looks fine. But when ...
1
vote
1answer
861 views

Limiting number of decimal digits in ArcGIS to have exported file in CAD with same format?

I am supposed to have some numeric values in ArcGIS 10.2 for Desktop with 3 decimals Digits and then convert them to Microstation or AutoCAD. I did this Setting using field calculator and 'round' ...
1
vote
1answer
2k views

Converting lat-lon from degrees and decimal minutes to decimal degrees in PostGIS [duplicate]

Creating a geometry in Postgis is fairly simple: ST_SetSRID(ST_MakePoint(longitude,latitude),4326); These lat/lon should be in decimal degrees format like 33.02505 -96.70668 Is there a way/function ...
1
vote
2answers
1k views

Geocoding in ArcGIS desktop and use the shapefile in ArcGIS Online

I want add 60 addresses in point format to my map in ArcGIS online. So what I did was use ArcGIS Desktop (10.2) to geocode them, exported them as a shapefile, and imported them to the online map. ...
0
votes
1answer
192 views

Doubt in Field Calculator

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 ...
7
votes
3answers
2k views

Field Calculator decimal places - how can I limit them?

I've added a new column to an attribute table and performed an operation with the field calculator to populate the new column. The result is a column with a percentage. My problem isn't major but I ...
78
votes
4answers
157k views

Getting coordinates from geometry in PostGIS?

This line: SELECT geom FROM myLayer.geom will return a hex value. How would I get decimal values, which is a human-readable coordination?
5
votes
1answer
734 views

Creating a User Defined Point Grid

Im trying to write some code (in C#, but any language will do) where the user defines and area, based on Min/Max Long/Lat's, and specifies a distance between points in meters, and the code returns a ...
4
votes
4answers
20k views

Change number of decimal digits for features in ArcGIS 10?

I am editing vertices in polygons and points in ArcMap 10, and realised that they only hold 3 decimal digits for the X, Y coordinates, but I would like at least 6 decimal digits. Even if I type in ...