Questions tagged [decimal-points]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Round numbers of Image Collection in Google Earth Engine

I have an image collection filtered data How can I compute sum reducer with two decimal places of my total image. var imagess = chirps .filter(ee.Filter.date('2022-02-01', '2022-02-10')); print(...
Adi's user avatar
  • 327
1 vote
1 answer
46 views

Expression for numbers displayed to 1 decimal place in QGIS

I am having an attribute table in a layout with one of the columns being % values using the expression: to_string("input data_1_ant_care") + to_string('%') The challenge is the numeric ...
Stephen Okiya's user avatar
3 votes
1 answer
94 views

QGIS input coordinate precision

I imported a point geometry layer into QGIS using a delimited text file (CSV) that contained the latitude and longitude values projected in CRS WGS84-EPSG:4326 with 6 decimal places (e.g. 38.145695). ...
guls's user avatar
  • 33
1 vote
0 answers
85 views

Round raster values in QGIS

I would like to reduce the number of decimal places of my raster to one. Currently they appear like that: 3.963322230. The solution that I have found online works well to get integer values but not to ...
AUS85's user avatar
  • 425
1 vote
1 answer
139 views

QGIS can not read float from SQL view [closed]

Geometry points from the SQL view view_monitoring with columns from table table_campaign, table_instrument etc. are shown in a QGIS-project. It works fine as long as no column of type float is ...
stonebe's user avatar
  • 445
2 votes
1 answer
644 views

Formatting decimal point for X,Y coordinates using R

I am relatively new to R and GIS in general, but I am working with this dataset https://data.austintexas.gov/Public-Safety/AFD-Fire-Incidents-2016-January-Thru-December/5tib-gqfx Whoever created it, ...
olive1's user avatar
  • 21
0 votes
2 answers
796 views

Extract numbers from mixed string (numbers & text) in QGIS

In QGIS 3.18. There are several similar questions such as this one which do not address my exact problem. I have an attribute of comma-concatenated values containing text and numbers. I would like to ...
pete's user avatar
  • 1,051
2 votes
1 answer
117 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 ...
Pfalbaum's user avatar
  • 903
1 vote
2 answers
389 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 ...
Emil Nyboe Blicher's user avatar
-2 votes
1 answer
1k 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 ...
Colby Burns's user avatar
1 vote
0 answers
213 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 ...
vlade113's user avatar
2 votes
1 answer
305 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 ...
LiamHems's user avatar
  • 193
1 vote
1 answer
305 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 ...
LiamHems's user avatar
  • 193
2 votes
1 answer
538 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....
shahryar's user avatar
  • 684
0 votes
2 answers
2k views

Rounding decimal places for float data in Google Earth Engine [closed]

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 ...
rachell's user avatar
  • 107
1 vote
0 answers
61 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 ...
Josep's user avatar
  • 112
0 votes
1 answer
104 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 ...
FelixB.'s user avatar
  • 109
1 vote
2 answers
749 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 ...
adriasf's user avatar
  • 67
3 votes
2 answers
300 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 ...
DaeYoung's user avatar
  • 131
1 vote
1 answer
1k 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 (...
Gunasekaran SP's user avatar
0 votes
1 answer
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 ...
Amy Boddah's user avatar
3 votes
0 answers
6k 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.
rtaani's user avatar
  • 575
4 votes
3 answers
4k 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 ...
Kate's user avatar
  • 51
0 votes
1 answer
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 ...
Stupid_Intern's user avatar
2 votes
0 answers
65 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 ...
user59762's user avatar
1 vote
2 answers
981 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, ...
Vincent's user avatar
  • 131
2 votes
1 answer
531 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 ...
don-don's user avatar
  • 21
2 votes
4 answers
6k 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 ...
Plengo's user avatar
  • 23
1 vote
0 answers
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 ...
Colleen O'Dea's user avatar
1 vote
1 answer
926 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' ...
user29324's user avatar
1 vote
1 answer
3k 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 ...
stUrb's user avatar
  • 2,269
1 vote
2 answers
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. ...
user2841098's user avatar
0 votes
1 answer
204 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 ...
Arun's user avatar
  • 1,462
7 votes
3 answers
3k 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 ...
Chewy's user avatar
  • 583
97 votes
4 answers
187k 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?
Kourosh's user avatar
  • 1,279
5 votes
1 answer
750 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 ...
CatchingMonkey's user avatar
4 votes
4 answers
21k 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 ...
hpy's user avatar
  • 3,137