Shapefile To Kml Arcgis

0 views
Skip to first unread message

Renita Lukins

unread,
Aug 5, 2024, 8:58:17 AM8/5/24
to enuncoaneph
Iam trying to upload three shapefiles to a new map in ArcGIS Online. I am saving the layers in my map as shapefiles and then zipping them together to upload as a file to the map. ArcGIS Online only says: Error, Unable to import this shapefile.

I try uploading other shapefiles (created by other people) and those upload fine. I tried uploading them as a layer package and as shapefiles to my contents in ArcGIS online and then using the link to create the map. That doesn't work either. Can you please help me figure this out?


I am having the same issue. I am trying to open a Shapefile (.zip) that a client created, but I am repeatedly getting an error message that ArcGIS Online cannot open the Shapefile. It is not a large file and just includes a few polygons. Did you figure out how to open your Shapefiles?


I had a similar issue. After reviewing the linked guide above (Shapefiles - ArcgIS Online Help).

I found that I didn't have the projection file (.prj) in the shapefile (not sure why it wasn't created when I created the shapefile).


Resolution:

I used the 'define projection' geoprocessing tool and then it would upload fine.

This was just my resolution - of course if you are missing any of the required files within the zipped .shp it will likely show the same error.



The files to double check you have in the zipped .shp (extracted from the guide above) are



"When you create a .zip file that contains the .shp, .shx, .dbf, and .prj files that comprise the shapefile, store your shapefile directly in the root (the central directory) of the .zip archive, not in directories within the archive. If your .zip file viewer shows path information, the path should be blank."


I tried using Firefox and while there were no complaints, the above shapefile had no features. I tried using Chrome, and got an error message. I looked at the shapefile in ArcGIS Pro, and everything seemed to draw correctly with all attributes, etc.


I've been using ArcGIS Pro 3.0.5 for about 6 months now and am certainly a novice user. I am trying to email/send a shapefile (polygon data) I have created with a colleague and am not confident how to properly do so. Moreso, I am not sure I am creating my polygon data in the correct manner. I created my data using the create new Feature Class within a known database through the Catalog Pane. I can certainly locate this database folder in Windows Explorer, but I am completely lost when it comes to identifying my feature class "file(s)" that I need to send to my colleague.


Below is what my windows explorer folder looks like and I was expecting to find at least one .shp or .shx file extension and I am not seeing one (I have some familiarity with shape files using ArcMap and know there are a handful of files that make up a single shapefile).


You windows explorer insert shows the files for a feature class not a shapefile. If you want to email a .shp then you need to export the feature class from the geodatabase in Catalog to a shapefile. Then you can go to windows explorer and select all the exported files you exported, zip them up to a compressed zip file. Then you can email the zip file.


I have a shapefile with some polygons that I would like to superimpose to a raster image, but unfortunately they don't match perfectly due to the reference system the shp has been created with. So, I now want to "georeference" the shp so that all the polygons would match the below raster image. It's not just a matter of moving it, the polygons are a bit deformed compared to the img, so I need to create some control points to tell the program how I would like to move them. I know this can easily be done for rasters, but what about features?


Moreover, I am adding that I know that I can always georeference the raster to the shp, but in this case the raster must stay where it is, I only need to move the shp, as this is supposed to be the second part of the same job, but coming from another source has caused this problem which I have to deal with.


You want to use the "Spatial Adjustment" toolbar in ArcGIS, it works much like the georeferencing tool, but for vector data rather than raster. It can be applied to an entire layer at once, so you can create just a few control points (they're called "displacement links" in the spatial adjustment tool) and move every polygon in your layer.


Ahh. Gotcha. If it were me, I'd contact the software vendor and ask them what you should do. I've used a number of third party software that only use shapefiles and I figured they do that because they are cheap and don't want to pay ESRI the licensing fees. But guess what? It limits the functionality of their products as you've discovered...


make sure it has a *.prj file and check the limitations and best practices section. If the file is too large, complex or contains certain types of features you may not be able to use it without further work


Have you published your shapefile as a hosted feature service? In order to view the data from your shape file, it will need to be converted into a format that the web map can read. To do this, you can publish a hosted feature service if you have an ArcGIS Online for Organizations account. If you are using a public account, then you can add a shapefile with less than 1000 features directly to the web map. This will store the features in the web map.


- you said that i cant add a shape to my web map because its is not a "feature shape" and only if you have an Organizations account you can do this, so, why you can upload a "shapefile" if you cant add it, this shapefile is useful for what?


Each feature is a row in the shapefile. If you exceed 1000 rows, then you will need to be able to publish a feature service, which requires an organizational account. If you don't have an organization account, you can sign up for a free 60 day trial or a developers trial account to try out this functionality. How many features are in your shapefile?


If you are uploading a shapefile and storing it as content in ArcGIS Online, you can share the shapefile for others to download and use. Although this wouldn't be used as a web layer, users could use the shapefile in other software products while using ArcGIS Online to share the content.


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse suscipit sapien ac sapien malesuada fringilla. Fusce venenatis, mauris id sagittis dapibus, mauris velit sollicitudin ante, a pulvinar leo orci vel erat. Nam mattis erat augue, at luctus ex dignissim et. Donec suscipit, dui at efficitur tristique, nulla nisi ornare lorem, vel dictum lectus eros nec felis.


Note:ArcMap is in Mature support and will be retired March 1, 2026. There are no plans for future releases of ArcMap, and it is recommended that you migrate to ArcGIS Pro. See Migrate from ArcMap to ArcGIS Pro for more information.Instructions provided describe how to convert the selected features of a layer to a new shapefile in ArcMap using the Export Data feature.


When using ArcMap, I could rename a shape file, and it would also automatically rename the associated files with it (prj...etc). When I try this in ArcGis pro, it only renames the .shp file. Any idea what I might be doing wrong, or what I need to be doing otherwise? Thanks


I'm using ArcGIS Pro 3.0.1 and was able to successfully rename all the shapefile components using the Catalog Pane in ArcGIS Pro. In the shapefile folder in the Catalog Pane, right-click the shapefile and choose rename. Rename the file. In File Explorer, verified all shapefile components are renamed correctly. What is your workflow?


I don't see anything in the internals about a BUG or similar customer reports. I wonder if the shapefile is corrupt. You could run the Repair Geometry GP tool described here or create a new shapefile from the old, test the renaming workflow or export to a file geodatabase feature class, try the rename procedure and then export it back to a shapefile. Or rename the ESRI folder to ESRI_OLD in your c:/users//appdata/local and c:/users//appdata/roaming to see if that fixes the problem. Any possibility of upgrading to ArcGIS Pro 3.0?


I just had the same problem and had to manually rename all the parts in window explorer. Such a waste of time and it worked fine in ArcMap but not Pro. Just another reason I dislike Pro... It always forces me to work harder not smarter.


Hello everybody,

My company is currently trying to integrate a two-layer shape file to an ArcGIS map in Power BI. The idea is to have a shapefile geographically accurate so that it is possible to put it on top of the real map and make it interactive with my data.


The shapefile format is a geospatial vector data format for geographic information system (GIS) software. It is developed and regulated by Esri as a mostly open specification for data interoperability among Esri and other GIS software products.[1] The shapefile format can spatially describe vector features: points, lines, and polygons, representing, for example, water wells, rivers, and lakes. Each item usually has attributes that describe it, such as name or temperature.


The shapefile format is a digital vector storage format for storing geographic location and associated attribute information. This format lacks the capacity to store topological information. The shapefile format was introduced with ArcView GIS version 2 in the early 1990s. It is now possible to read and write geographical datasets using the shapefile format with a wide variety of software.


The shapefile format stores the geometry as primitive geometric shapes like points, lines, and polygons. These shapes, together with data attributes that are linked to each shape, create the representation of the geographic data. The term "shapefile" is quite common, but the format consists of a collection of files with a common filename prefix, stored in the same directory. The three mandatory files have filename extensions .shp, .shx, and .dbf. The actual shapefile relates specifically to the .shp file, but alone is incomplete for distribution as the other supporting files are required. Legacy GIS software may expect that the filename prefix be limited to eight characters to conform to the DOS 8.3 filename convention, though modern software applications accept files with longer names.

3a8082e126
Reply all
Reply to author
Forward
0 new messages