Tag Info

New answers tagged

0

Like in the comment of PolyGeo, Compacting database recalculates feature class extent, so here is an arcpy script to automate this task and also to make rebuild index and analyze: import arcpy , sys , os , subprocess arcpy.env.overwriteOutput = True def main(): db_path = os.path.join(os.path.dirname(__file__), "Connection_db_name.sde") ...


0

Start a new, blank map document. Add your polygon layer to it. Double-click the layer in the ToC and go to the Source tab. That will tell you what coordinate system your polygon layer is in (just as an FYI). Add your table to the map. Drill down in the catalog window toolboxes to find, or type into the search window Make XY Event Layer and run it. Select ...


0

As you found out already, there is nothing like a TransformFeature control in ol3 currently. However, it is quite easy to create a custom interaction that deals with specific feature modifications. For inspiration, you can look at the official drag-features example. In your case, you will probably analyze the coordinate in the handleDownEvent function and ...


1

I guess you are looking for ol.geom.Polygon.fromExtent(extent). Try to uncheck the "Stable Only" checkbox in the API docs to see all methods.


1

The script below will create a new shapefile with a feature representing the extent of each data frame in a map document. The data frame name is saved in a field called DFName. Once you've run this you can add it to your main data frame as a normal layer and exclude it as you would any other (the "Exclude layers..." button). You'll still need to leave the ...


0

It doesn't totally solve the problem, but I did find a button in the Customize options that creates a polygon feature for the current data frame: This would have to be repeated if there are multiple data frames, but at least it would allow the outline to be selected in the exclude layers options.


0

I've run into a similar issue as @SharonB yesterday and though I'd share the solution which worked for me. Instead of using 'Raster Calculator, I've used a different tool called 'Cell Statistics' (also part of SA Toolbox), with 'SUM' option of overlay stats. Beforehand I've generated a constant raster with the correct extent, to which I pointed in the ...


0

In my case I have this: Driver: GTiff/GeoTIFF Files: CLM_201410281015.tiff CLM_201410281015.tiff.aux.xml Size is 3712, 3712 Coordinate System is `' Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 0.0, 0.0) Lower Left ( 0.0, 3712.0) Upper Right ( 3712.0, 0.0) ...


0

Make sure to order simple grib data, grib with headers can not be read with GDAL. gdalinfo reports the following on a sample file: Driver: GRIB/GRIdded Binary (.grb) Files: msg3.grb Size is 3712, 3712 Coordinate System is: PROJCS["unnamed", GEOGCS["Coordinate System imported from GRIB file", DATUM["unknown", SPHEROID["Spheroid ...



Top 50 recent answers are included