Hot answers tagged translation
For a recent project working with several GBs of spatial data, I started the data loading / reprojections with FME. It worked well, but there is a learning curve. By the end of the project I was using Python scripts to automate the reamining processes. FME can be scripted, but if you have the Python basics why complicate things further? Python gives you ...
I'll talk only about what i've seen in a professional context. A student of mine worked with an enterprise tasked to receive, validate and integrate huge quantities of spatial data, from a well known source (TeleAtlas) into their GIS. She used several workflows using FME, doing very complicated verifications and tranformations on the fly, from a format to ...
From the FME Readers and Writers Manual: When writing to the database, the writer expects the date attribute to be in the form YYYYMMDDHHMMSS. You'll probably need to use the DateFormatter transformer to get this format. I would: Use a StringReplacer to replace the - with / in the date attribute Use a DateFormatter set to %Y%m%d or %Y%m%d%H%M%S ...
Depending on the raster format, you can either edit the world file, or use GDAL/Python: from osgeo import gdal # Open in read/write mode rast_src = gdal.Open(rast_fname, 1) # Get affine transform coefficients gt = rast_src.GetGeoTransform() # (2776450.0, 100.0, 0.0, 6352650.0, 0.0, -100.0) The geotransform gt object is a 6-parameter tuple described ...
More generally, you need what is called a "published parameter" -- you don't have to use the ParameterFetcher to pull them out in a workflow either. This FAQ http://www.fmepedia.com/index.php/Can_I_pass_a_variable_to_FME_to_replace_a_fixed_value_within_a_workspace describes what I'm talking about very concisely, and if you grab section 4 of the online FME ...
You can certainly use FME to read from a Smallworld 4.0 database, and write the data into a 4.1 database. But unless you were doing a large scale re-modelling of the data en-route I don't see the need. I'm sure there must be some sort of upgrade mechanism in Smallworld. I'd contact your Smallworld reseller/support to find that out. FME with Smallworld is ...
I don't think I've ever seen such a beast. I use several tricks though. Scan2cad will convert a vector pdf to dxf. So the 3 step process I have used. convert the ai,ps,eps to pdf with adobe acrobat. convert pdf to dxf with scan2cad. covert dxf to shp with arcmap. rather ugly but it works
You can convert PS to TIff using GhostScipt or IrfanView. If you georeference the Tiff first, creating a Geotiff or a world file, you should also assigned a coordinate system (gdal_translate -a_srs). Then you can run gdal_polygonize.py to convert the geoTiff to a Shapefile. The shapefile coordinates should match the geotiff.
In Idrisi (Kilimanjaro, Andes, Taiga or Selva versions) look for function "Idrisi file convertion 16/32" in FILE menu. This convert your old vector file format (.vec) to new version format (.vct). Then in idrisi export to SHAPEFILE. or open your new idrisi vector file in ARCGIS, then convert to CAD. Method 2 Other method (i am not sure for all), but try ...
As whuber mentioned in the comments, doing this without any software support will be non-trivial, especially because you're doing a datum transformation. But if you do need the precise formulae, Map Projections: A Working Manual does have a section on Albers that would be useful. If you can use other software, then the open source Proj.4 library is the way ...
You can use the Proj.4 library to convert coordinates from one projection to another. (However Proj.4 will not read your dataset - that is up to you) If you can't link to the library, then a stroll through the source code might get you the formula you are looking for.
Rasterizer Transformer tip: Force 2D first http://fmepedia.safe.com/articles/Samples_and_Demos/Converting-Vector-data-to-Raster#heading_toc_j_3
SuperMap can convert Idrisi .vec to shapefiles. Look at the the table called "Table 3 Supported Dataset Types When Exporting Them into Outside Vector Data Formats." SuperMap Deskpro Professional and All-in-one Desktop GIS is required. A 60 Day Trial license is available.
You are close. Using a modified version of your example works just fine (However, see my updates below to understand why this is happening): gdalsrsinfo -o xml '+proj=longlat +a=3396190 +b=3396190 +no_defs +rf=1' > /tmp/test1;gdalsrsinfo -o wkt /tmp/test1 I'm taking the output (in GML) of the first command and sending it to a temporary file, then ...
Sorry about the delay in replying. The parameters for transforming from your custom CRS to EPSG:27200 appear to be as follows: Scale x: 0.9999708285575817 Scale y: 0.9999269459420771 Rotation: 46.62502359527837 DX: 2223279.845 DY: 5516242.139 The trouble is that I can't make a custom QGIS/Proj4 CRS that uses these (it's possible, ...
One undocumented feature is the use of both tools: kyle@kyle-workstation:Desktop$ gdalsrsinfo http://spatialreference.org/ref/epsg/4326/ PROJ.4 : '+proj=longlat +datum=WGS84 +no_defs ' OGC WKT : GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], ...
You should be able to find your SRS on http://spatialreference.org/ and they have it in many different formats. E.g. EPSG:4326 Note: Looks like they're having some CSS issues today, but all features seem to be working.
You can probably apply the offsets using OGR (GDLA) for C# (http://trac.osgeo.org/gdal/wiki/GdalOgrInCsharp) You'd have to write a C# script that loads the shapefile, gets the x and y coordinates (ORGPoint class has this), offsets it using your algorithm and then set x and y coordinates (OGRPoint.setX and OGRPoint.setY i believe). Im not sure if you'd have ...
If you have Adobe Illustrator, there is an add-on (not free) called MaPublisher. It adds some GIS capabilities to Illustrator. In addition, it adds some export functionality including export to shapefile. I'm surprised that FME doesn't have the ability to read to these formats, but it can write to them.
Safe FME supports reading and writing in JPEG formats - Details. For converting DWG to JPG you will have to use a suitable transformer.
Creator> TimeStamper> [^d-^b-^y] > SQLExecutor [DBMS settings] should work http://groups.google.com/group/fmetalk/browse_thread/thread/24b057b19e55fad9/ded0a9d2baa73c81
Only top voted, non community-wiki answers of a minimum length are eligible