Geographic Information Systems Asked by tony-bof on November 15, 2020
I’m trying to convert a polygon file to raster but when I execute the function I get this error message:
clementcdqlanduse_mrc4. May be locked by another application. Failed to execute (polygonToRaster).
I’ve tried closing everything and doing it again but it still doesn’t work… does anyone know what to do in this situation ?
A lock commonly means that another application is accessing a database, and the ability to alter its structure, such as by adding or removing fields, is restricted. A common cause for a schema lock is displaying a dataset while trying to modify the dataset in another application.
Solution - If using multiple applications, check whether those applications might be accessing the same data.
I usually get locks when: - someone else is using the data - I have multiple programs looking at the data - the data is in my mxd multiple times - the data is being used in a service and the service hasn't been shut down
You can try looking at your database connections to identify where the multiple connections are coming from, and either disconnect them from there, or manually shut things down.
Correct answer by Lindsy Hales Bentley on November 15, 2020
For anyone that is still experiencing this you can export your map as a map package and then use the polygon to raster tool as a work around.
Answered by MonkeyMan on November 15, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP