Questions tagged [format]

particular way that information is encoded for storage in a computer file

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Convert labels to annotations is messing up the label format

Has anyone else experienced this before? For a few of the projects I've been working on (but not all, so this doesn't happen all the time) I have features that I want to label with these fairly large ...
user avatar
2 votes
1 answer
60 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
35 views

WFS FlatGeobuf output format produces parsing error

I use GeoServer to output WFS FlatGeobuf format, and then add it to a new datastore, but GeoServer doesn't seem to be able to parse the geometry. I can't preview it as well. When I use WFS to ...
user avatar
  • 1
4 votes
2 answers
179 views

Convert date/time format

My shapefile contains a attribute field called "created" (type QString) and this field holds the date and time of every feature in this format: "2022-03-04-13-28-26" (yyyy-mm-dd-hh-...
user avatar
  • 65
0 votes
2 answers
53 views

What is the standard approach to store dates as pixel values in raster? [closed]

I have a raster, where the value of a pixel should represent the date at which that pixel was deforested. Dates ranging from 2015 until today. I need resolution to be at the level of day. I would like ...
user avatar
  • 123
1 vote
0 answers
54 views

How to format or access properties of reverse geocoding results with Nominatim in GeoPandas

I'm working on a small app where I want to collect the nearest street address from geotagged images. I have currently succeeded in pulling a PostGIS table into a geodataframe and running my points ...
user avatar
  • 284
2 votes
1 answer
73 views

QGIS expression function month() does not return month in MM format

Using QGIS expressions, the following expression returns 5: month('2012-05-12') -> 5 The help, however, says that the output of this very expression is 05. I don't see an option to format the ...
user avatar
  • 40k
0 votes
0 answers
29 views

Import format in kepler.gl from QGIS

I try to export layer from QGIS to CSV, JSON or GeoJSON to add data in kepler.gl. I think I tried all options : geometrycollection or not, GeoJSON newline limited or not, comma, semicolon, CSV with ...
user avatar
  • 412
0 votes
0 answers
21 views

Fomat Widget Expressions in QGIS

I want something basic; like I do in excel or access. The user enters a value and excel formats it. If it's a phone number and I want it in '####-#######' format; or if it is a number and I want to ...
user avatar
4 votes
3 answers
247 views

Splitting string with dates by '/'-character and getting ancient/latest date as new column in QGIS

I have dates separated by '/' character in column "date" in format RRMMDD as on the screenshot below: I want to separate dates into another columns "date_from", "date_to"...
user avatar
  • 51
0 votes
0 answers
16 views

Storing the standard distance of a centroid alongside the centroid coordinates

I'd like to calculate and save a centroid (the central tendency) of a set of points as well as the standard distance (i.e. the root mean squared distance to the centroid). I can store the centroid as ...
user avatar
  • 865
1 vote
1 answer
279 views

Make popup appear on mouseover and not click in Leaflet?

I'm a noob with Leaflet, just got started this past week. I was wondering how to make my popups fire on mouseover rather than the default on click. //create variable to hold the map element, give ...
user avatar
3 votes
2 answers
427 views

Getting available GDAL raster drivers in Python

How to fetch the available GDAL raster drivers in Python? (The equivalent of gdal_translate --formats using the command line utilities.)
user avatar
  • 27.5k
1 vote
1 answer
57 views

Choosing correct datetime format

I want to change my date (string) to a date format %Y-%m-%d for the time manager. I already try with the Field Calculator. But it is not working. What should i write in the expression. And should I ...
user avatar
2 votes
1 answer
384 views

Is it possible to change number format to scientific in QGIS layer legend?

I have a layer with really small values and the classes in the legend do not look nice both for work in QGIS but also in the print layout. Is it possible to somehow change the format of the numbers ...
user avatar
  • 1,708
6 votes
2 answers
506 views

How to format latitude and Longitude labels to show only degrees with suffix without any decimal or minutes?

I am setting my latitude and longitude labels in the QGIS map > map grid properties > draw coordinates > format but this only has decimal, decimal with suffix, degree minutes (w and w/o ...
user avatar
  • 65
3 votes
2 answers
330 views

Adding number of months (as integer) to date format in QGIS

I am creating a form for QFIELD in a QGIS project. I have three fields: Date of today ([$now]), as a date format, Number of months allocated for a certain task, as an integer The due date for this ...
user avatar
  • 571
1 vote
1 answer
216 views

How to format coordinates as preparation for transformation to WGS1984 in ArcMap 10.8?

I have a pointshape with a lot of points, containing X and Y values projected in krasovsky_1940_albers. I want to transform the projection to WGS1984 and tried to use the Tool "Convert Coordinate ...
user avatar
  • 11
3 votes
1 answer
602 views

Formatting grid UTM co-ordinate numbers in QGIS 3.16

I have used the expression @grid_number ||if(@grid_axis='x',' mE',' mN') to add the suffix "mE" and "mN" to the UTM grid labels in a layout window (e.g "550000 mE"). How ...
user avatar
0 votes
0 answers
49 views

What format is this list of times, lats and lons?

I have a bunch of strings from an XML file of a sailboat race (the Volvo Ocean Race 2011-2012). The XML file was consumed by an old flash app which I no longer have access to. I am 90% sure the ...
user avatar
2 votes
1 answer
96 views

Attribute table conversion date format

I want to change the date format with different date formats in the attribute table to the one format which is fitting for the Time manager. Does it work with the Field Calculator? For example 12....
user avatar
3 votes
1 answer
470 views

QGIS format_number with tailing zeros

I am working in a attribute table trying to format my numbers, but want to keep ending zeros. I am using format_numbers("column",sig figs). For the most part, it is working, but for example ...
user avatar
  • 896
0 votes
2 answers
66 views

Selecting features from partial string in where clause with variable of Select Layer By Attribute in ArcPy

I am new to coding using ArcPy. My code is: roadname = "Ly Thuong Kiet" arcpy.SelectLayerByAttribute_management("inLayer_lyr","NEW_SELECTION",""" "...
user avatar
2 votes
2 answers
921 views

Formatting decimal numbers in legend

I am using a graduated legend, using the default format "%1 - %2". The numbers are formatted using decimal points, like "1.1 - 1.2". How could I change this to using decimal commas,...
user avatar
2 votes
1 answer
704 views

MODIS 'system:time_start' format problem in Google Earth Engine

In Google Earth Engine, what is the default format of time_start for MOD10A1 image?For example, var modisCollection = ee.ImageCollection('MODIS/006/MOD10A1') .filterDate('2000-08-21', '2001-02-28')...
user avatar
  • 109
2 votes
1 answer
230 views

Georeference a LAS file with txt2las using a Geomedia coordinate system file (.csf)

I need to transform a file in a .csv file into a LAS file. I have a LiDAR data folder, in this folder I have these files: A .csv file that contains the the point data Some metadata files (schema, ...
user avatar
  • 51
3 votes
1 answer
1k views

How to open Cesium 3D tiles with QGIS 3

How to open Cesium 3D Tiles with Qgis The format is not available but this is an OGC standard: https://www.ogc.org/standards/3DTiles GeoPackage seems to be working on adding the extension: https://...
user avatar
  • 995
5 votes
1 answer
2k views

Change date format into readable format in GEE

I have code in GEE which create table with the sentinel2 mean NDVI data for certain period. my problem is that the table in the end has two column with the dates, one is the name of each image (not ...
user avatar
  • 1,797
1 vote
1 answer
57 views

Unknown spatial data file format

I am building a tool to calculate navigation charges for aircraft flying within Europe. This function is administered by an organisation called EUROCONTROL. EUROCONTROL have an application of their ...
user avatar
  • 923
1 vote
0 answers
190 views

Opening ASC file in QGIS

I'd like to open a .asc file in QGIS from this website: Monthly mean tropospheric NO2 from TROPOMI I suspect there's a problem with the headers or something, but can't figure it out. Using the ...
user avatar
0 votes
1 answer
66 views

Trying to extract point X and Y from Geodatabase from outside a GIS

I have a geodatabase which I would like to integrate with processes outside ArcGIS. (On our systems Arc is a fairly closed system). I have managed to connect to the database and perform an extract ...
user avatar
  • 131
0 votes
2 answers
93 views

OpenLayers data format [closed]

I am just running an application using OpenLayers. All data is transfered from my database in GEOJSON format. My current task is to review the implementation of the data format. Important ...
user avatar
3 votes
1 answer
121 views

In which format am I working and how can I plot it correctly on GIS?

I've been working recently replicating this paper: "Constructing Street Networks from GPS trajectories". They got a repository with the implemented code. Anyway, the issue is that their data is in the ...
user avatar
3 votes
1 answer
438 views

Getting error from Timestamp format for QGIS Time Manager?

I encounter a strange error in QGIS Timemanager: I have two csv-files, encoded UTF-8, EPSG 4326. Only one of them can be read by timemanager-plugin, the other one produces this error-message: An ...
user avatar
  • 40k
3 votes
1 answer
2k views

Change data format in QGIS field calculator using format_date

I´d like to change the data format in the attribute table from yyyy-MM-dd (default) to dd.MM.yy using the format_date function in the field calculator. Using: format_date(date, 'dd.MM.yy') I got ...
user avatar
  • 481
1 vote
1 answer
889 views

Dashed line with different colour fill and stroke in QGIS

How can I create a dashed line with a different fill and stroke colour? I have a white dash line on my map "former range" which doesn't show up in the legend, which has a white background. I want to ...
user avatar
  • 75
1 vote
1 answer
60 views

Changing name of file download from browser app?

I am developing browser application using MapServer and JavaScript. I've got part where on map click I get FeatureInfo about an object: function getFeatureInfoGML(map){ var openwindowhandle=...
user avatar
7 votes
1 answer
4k views

Interpreting the type and type name of data formats in QGIS

I am trying to wrap my head around storing attribute values in the most efficient way for a large shapefile (>1 000 000 records). I have found excellent descriptions of data representations in 8-bit, ...
user avatar
  • 1,825
4 votes
1 answer
4k views

Optimal method to convert raster from 32bit Float to 8bit Byte to reduce file size in QGIS 3

I have a raster file (.tif) that contains integer values from 1 to 31. I have realized that the values are stored as Float32 with NoData Value=-3.39999999999999996e+38 (see raster information below). ...
user avatar
  • 1,825
2 votes
0 answers
67 views

Removing extra dots when loading Python script

This is probably a silly question, but I'm having a problem whenever I load a Python script in ArcMap where extra dots are loaded with the script (see below) that I must manually delete prior to ...
user avatar
3 votes
1 answer
69 views

GeoNetwork address format

In GeoNetwork 3.4, the default format for Metadata information "Contact" is the American Format i.e. street, nummer, city, Postal Code, Country example: Rue Vautier 29, Bruxelles, 1000, Belgium ...
user avatar
4 votes
1 answer
5k views

Changing date format in QGIS?

I have just created a date field attribute. In Proprieties > Fields of the layer I made this: And the attribute tables shows this: What I want to see is the date in this format: 07-01-2019 and ...
user avatar
0 votes
2 answers
126 views

String Formatting;-Calling values from a dictionary to select by attribute in fc

New to python. In the code below, I create a dictionary b={} and wish to call keys to select by attribute. All goes well until I am required to format strings to come up with whereclause. I am ...
user avatar
  • 103
1 vote
0 answers
110 views

Time Slider feature in ArcGIS 10.5 is displaying layer time extent to 1/1/0001 12:00:00 AM

I've add a polygon shapefile that has a field that contains date and time in it's column. However, when I attempt to calculate the layer time extent I'm getting the values of 1/1/0001 12:00:00 AM ...
user avatar
  • 11.8k
2 votes
2 answers
43 views

What are TRW or TRE formatted locations?

I have data from a U.S. state and for each item, there is a Location ID in the format T##R##E-## Sometimes the E is a W. What is this format?
user avatar
  • 113
4 votes
1 answer
3k views

What file format has 18n, 18g and 18o file extensions?

My professor (who is now unreachable on holiday) gave me files to work with for a mapping project. The files were retrieved from the Ordinance Survey Ireland webpage. They were used to differentially ...
user avatar
  • 43
1 vote
0 answers
2k views

Arcmap reads column of integers in .csv as strings instead of numbers [duplicate]

When reading a column of integers (land cover classes) from a CSV file, ArcMap (10.5) automatically assigns a field type of 'string', rather than a number format (e.g. 'Long'). This makes it so you ...
user avatar
  • 137
1 vote
1 answer
38 views

Select Entrys by Time

I want to select entries of my GPS-Point data only recorded from 7 a.m. to 7 p.m. and close out all others. Right now, its in a String format (00:00:06). I tried "time": >= '07:00:00' and "time": &...
user avatar
0 votes
1 answer
253 views

What could cause text under 255 characters to import as BLOB format?

I'm importing a table from an .accdb file in Access 2016 into ArcMap 10.6 via an OLE DB connection and one of my nine text fields is importing in BLOB format. It and all the other fields are formatted ...
user avatar
0 votes
2 answers
141 views

Format date in CartoCSS infowindow

I have a date feild in my data and when I add it to an info window, it shows in zulu time (2017-11-06T00:00:00.000). Is there a way to format the cartoCSS and HTML so that only the date, and not the ...
user avatar
  • 459