Questions tagged [decimal-points]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
179 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, ...
user avatar
  • 21
0 votes
0 answers
47 views

Reducing the number of coordinate decimal places when converting .TAB to .KML

I'm converting a series of files (each one depicting cellular coverage in a whole country) from .TAB to .KML. using QGIS 3.22.2-Białowieża. Once converted, a little Java program finds if a specific ...
user avatar
0 votes
2 answers
238 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 ...
user avatar
  • 1,001
1 vote
1 answer
76 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 ...
user avatar
  • 782
1 vote
2 answers
141 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 ...
user avatar
-2 votes
1 answer
296 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 ...
user avatar
1 vote
0 answers
108 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 ...
user avatar
2 votes
1 answer
110 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 ...
user avatar
  • 173
1 vote
1 answer
158 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 ...
user avatar
  • 173
2 votes
1 answer
289 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....
user avatar
  • 654
0 votes
2 answers
1k 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 ...
user avatar
  • 97
1 vote
0 answers
53 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 ...
user avatar
  • 112
0 votes
1 answer
77 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 ...
user avatar
  • 87
1 vote
2 answers
389 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 ...
user avatar
  • 67
3 votes
1 answer
145 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 ...
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 (...
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 ...
user avatar
2 votes
0 answers
4k 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.
user avatar
  • 563
4 votes
3 answers
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 ...
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 ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
1 vote
2 answers
824 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, ...
user avatar
  • 131
2 votes
1 answer
442 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 ...
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 ...
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 ...
user avatar
1 vote
1 answer
895 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' ...
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 ...
user avatar
  • 2,139
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. ...
user avatar
0 votes
1 answer
196 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 ...
user avatar
  • 1,426
7 votes
3 answers
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 ...
user avatar
  • 583
89 votes
4 answers
169k 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?
user avatar
  • 1,189
5 votes
1 answer
742 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 ...
user avatar
4 votes
4 answers
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 ...
user avatar
  • 2,987