Guadalajara city hall is working to create a database of dogs' DNA in the city so officials can identify and punish the owners who don't pick up after their pets, the city announced on Monday.
Apparently pet poop negligence is a major problem in the city of less than 85,000.
"This measure will increase the vigilance on the streets in order to prevent dog-owners from leaving their pets' feaces in the public roads," the city hall wrote in a statement.
"This situation is one of the number one complaints voiced throughout the year."
Currently police are only able to fine pet-owners if they catch them in the act of leaving excrement behind and the city reports that even though officers try to investigate cases, "it is very difficult to detect these infractions".
To create the database, the city will start asking dog owners, potentially this year, to provide officials with a sample of their canines' saliva or fur.
Using the database, officers will be able to take samples of dog droppings and then have a lab analyze the faecal findings to determine which pooch plopped the poop.
If the lab finds a match within the database, the dog's owner will face a fine of up to €250 as well as the costs of processing the sample.
"We hope that these measures will improve the health, hygiene and aesthetics of our city," said environmental councillor Francisco Úbeda at a presentation of the plan on Monday.
The database plan also means that all police officers will be asked to be on the lookout for poop perpetrators, not just officers in environmental departments.
"The local police will become... a key element in the promotion of civic behaviours that will result in a more healthy and secure city," the city wrote.
But the database won't only be used to penalize perpetual poo-droppers. It will also be used to investigate cases of animal abuse.
The plan also calls for dogs to be properly restrained and ways to check on potentially dangerous dogs.