Where was Beast with a Gun filmed?

1977 film by Sergio Grieco

Beast with a Gun (1977) was filmed in Ancona, Senigallia, Ostra and Montemarciano, 4 places named in its Wikipedia article, in Italy. Wikidata records no filming location for it at all, so the article is the only recorded source. Each place says where its claim comes from.

See them on the map → Wikipedia Source data

Places per Wikipedia's article

The Wikipedia article names 4 places. Each links to the sentence that says so.