diff --git a/brazil_landfill_name_and_coords_extraction.csv b/brazil_landfill_name_and_coords_extraction.csv new file mode 100644 index 0000000..7a025b0 --- /dev/null +++ b/brazil_landfill_name_and_coords_extraction.csv @@ -0,0 +1,49 @@ +landfill_name,gas_capture,gas_flare,gas_to_energy_project,project_title,filename,location.region,location.city,location.country,coordinates.latitude,coordinates.longitude +Dois Arcos Landfill,True,True,True,Dois Arcos Landfill Gas Project Activity,10257_PDD.pdf,Rio de Janeiro State,São Pedro da Aldeia,Brazil,-22.82601389,-42.05100556 +Oeste de Caucaia Landfill,True,True,True,Oeste de Caucaia Landfill Project Activity,10261_PDD.pdf,Ceará,Caucaia,Brazil,-3.78847222,-38.67357222 +CGR Piaçaguera,True,True,False,Terrestre Ambiental Landfill Gás Project,1133_PDD.pdf,São Paulo,Santos,Brazil,-23.885835,-46.312335 +ESTRE Pedreira Landfill,True,True,True,1134 ESTRE Pedreira Landfill Gás Project (EPLGP),1134_PDD.pdf,São Paulo,Iracemápolis,Brazil,-23.114376,-47.551041 +Bragança landfill,True,True,True,Embralixo/Araúna – Bragança Landfill Gas Project,1179_PDD.pdf,São Paulo,Bragança Paulista,Brazil,-23.2475,-45.8675 +URBAM landfill,True,True,False,URBAM/ARAUNA – Landfill Gas Project (UALGP),1247_PDD.pdf,São Paulo,São José dos Campos,Brazil,-23.2475,-45.8675 +MARCA Landfill,True,True,True,Brazil MARCA Landfill Gas to Energy Project,137_PDD.pdf,Espirito Santo State,Cariacica,Brazil,-20.3161,-40.2933 +Alto-Tietê landfill,True,True,True,Alto-Tietê landfill gas capture project,1636_PDD.pdf,São Paulo State,Itaquaquecetuba,Brazil,-23.433333,-46.291667 +Caieiras Landfill,True,True,False,Caieiras landfill gas emission reduction,171_PDD.pdf,São Paulo State,Caieiras,Brazil,-23.4319509,-46.5422455 +SANTEC Resíduos landfill,True,True,False,SANTEC Resíduos landfill gas emission reduction Project Activity,1908_PDD.pdf,Santa Catarina,Içara,Brazil,-28.78983333,-49.32866667 +Anaconda Ambiental Sanitary Landfill,True,True,False,Anaconda Landfill Gas Project,226_PDD.pdf,São Paulo,Santa Isabel,Brazil,-23.193809,-47.058886 +Onyx Landfill Gas Recovery Project,True,True,False,"Onyx Landfill Gas Recovery Project – Trémembé, Brazil",27_PDD.pdf,São Paulo,Tremembé,Brazil,-22.82601389,-45.56333333 +CTR Candeias Landfill Gas Project,True,True,True,CTR Candeias Landfill Gas Project,3958_PDD.pdf,Pernambuco,Jaboatão dos Guararapes,Brazil,-8.164258,-34.985286 +Itaoca Landfill,True,True,False,Itaoca Landfill Gas Project,4657_PDD.pdf,Rio de Janeiro,São Gonçalo,Brazil,-22.775,-43.373 +CTL Landfill,True,True,True,CTL Landfill Gas Project,5947_PDD.pdf,São Paulo State,São Paulo,Brazil,-23.5505,-46.6333 +CGR Guatapará landfill,True,True,True,CGR Guatapara Landfill Project,6553_PDD.pdf,São Paulo State,Guatapará,Brazil,-21.395833,-47.955 +Uberlândia landfill I and II,True,True,True,Uberlândia Landfills I and II Gas to Energy Project,7110_PDD.pdf,State of Minas Gerais,Uberlândia,Brazil,-18.878361,-48.318583 +Ventura Landfill,True,True,True,Projeto de Gás de Aterro TECIPAR – PROGAT,7799_PDD.pdf,São Paulo,Santana de Parnaíba,Brazil,-23.416711,-46.959638 +UTGR – Jambeiro,True,True,False,ENGEP & BEGREEN CDM Project at UTGR – Jambeiro Landfill,8011_PDD.pdf,São Paulo State,Jambeiro,Brazil,-23.273889,-45.752222 +CGR Catanduva Landfill Gas Project,True,True,True,CGR Catanduva Landfill Gas Project,8205_PDD.pdf,São Paulo,Catanduva,Brazil,-21.123247,-48.928236 +CGR Piratininga,True,True,True,ESTRE Piratininga Landfill Gas Project,8213_PDD.pdf,São Paulo,Piratininga,Brazil,-22.371667,-49.170278 +Onda Verde Landfill,True,True,True,Constroeste Landfill Gas to Energy Project,8603_PDD.pdf,São Paulo,Onda Verde,Brazil,-20.617240503129633,-49.33414936065674 +Aurá Landfill,True,True,False,Aurá Landfill Gas Project,888_PDD.pdf,State of Pará,Belém,Brazil,-1.45556,-48.49 +Canabrava Landfill,True,True,False,Canabrava Landfill Gas Project,893_PDD.pdf,Bahia,Salvador,Brazil,-12.9711,-38.5108 +Gramacho Landfill,True,True,True,Gramacho Landfill Gas Project,9087_PDD.pdf,Rio de Janeiro,Duque de Caxias,Brazil,-22.746111,-43.260278 +Estre Itapevi Landfill,True,True,True,0911: ESTRE Itapevi Landfill Gas Project (EILGP),911_PDD.pdf,São Paulo State,Itapevi,Brazil,-23.401961,-47.025269 +Quitaúna Landfill,True,True,False,Quitaúna Landfill Gas Project (QLGP),912_PDD.pdf,São Paulo,Guarulhos,Brazil,-23.41289167,-46.55770833 +Lara Landfill,True,True,True,"Landfill Gas to Energy Project at Lara Landfill, Mauá, Brazil",91_PDD.pdf,São Paulo,Mauá,Brazil,-23.705014,-46.474225 +ITVR São Leopoldo,True,True,False,ITVR Sao Leopoldo landfill gas project,9290_PDD.pdf,Rio Grande do Sul State,São Leopoldo,Brazil,-29.7461,-51.1966 +CTDR Bob Ambiental,True,True,False,CTDR Bob Ambiental landfill gas project,9295_PDD.pdf,Rio de Janeiro State,Belford Roxo,Brazil,-22.7011805,-43.3888194 +Rio Grande landfill,True,True,False,Rio Grande landfill gas project,9300_PDD.pdf,Rio Grande do Sul,Rio Grande,Brazil,-32.0288888,-52.2911111 +CTR da Caturrita landfill,True,True,False,CTR da Caturrita landfill gas project,9302_PDD.pdf,Rio Grande do Sul State,Santa Maria,Brazil,-29.6558,-53.8661 +Canhanduba Landfill,True,True,True,Canhanduba Landfill Project,9943_PDD.pdf,Santa Catarina,Joinville,Brazil,-26.301271,-48.799136 +João Pessoa Landfill,True,True,True,1165 PROBIOGAS-JP – João Pessoa Landfill Gas Project,1165_PDD.pdf,Paraíba,João Pessoa,Brazil,-7.115125,-34.8631 +Aterro Vila Velha,True,True,False,CTRVV Landfill emission reduction project,1491_PDD.pdf,Espírito Santo,Vila Velha,Brazil,-20.4567,-40.3911 +Feira de Santana Landfill,True,True,True,Feira de Santana Landfill Gas Project,1626_PDD.pdf,Bahia State,Feira de Santana,Brazil,-12.246944,-38.9975 +Bandeirantes Landfill,True,True,True,Bandeirantes Landfill Gas to Energy Project (BLFGE),164_PDD.pdf,Southeastern region,São Paulo,Brazil,-23.4161289,-46.7622611 +CGR Paulínia Landfill,True,True,True,ESTRE’s Paulínia Landfill Gas Project (EPLGP),165_PDD.pdf,São Paulo State,Paulínia,Brazil,-22.773506,-47.196161 +CTRS / BR.040 Landfill,True,True,True,Exploitation of the biogas from Controlled Landfill in Solid Waste Management Central – CTRS / BR.040,3464_PDD.pdf,Minas Gerais,Belo Horizonte,Brazil,-19.93258333,-44.01808333 +São João Landfill,True,True,True,0373 São João Landfill Gas to Energy Project (SJ),373_PDD.pdf,São Paulo,São João da Boa Vista,Brazil,-21.971982,-46.728277 +Aterro Metropolitano Central,True,True,True,Salvador da Bahia Landfill Gas Management Project,52_PDD.pdf,Bahia State,Lauro de Freitas,Brazil,-12.8625,-38.3636 +Central de Resíduos do Recreio Landfill,True,True,True,Central de Resíduos do Recreio Landfill Gas Project (CRRLGP),648_PDD.pdf,Recreio dos Bandeirantes,Rio de Janeiro,Brazil,-22.922006,-43.53351 +Natal Landfill,True,True,True,Natal Landfill Gas to Energy Project,7637_PDD.pdf,Rio Grande do Norte,Ceará-Mirim,Brazil,-5.711788,-35.382797 +CTR Rosario Landfill,True,True,True,8242 CTR Rosario Landfill Gas Project,8242_PDD.pdf,Córdoba Province,Córdoba,Argentina,-31.4201,-64.1888 +Proactiva CGA Iperó Landfill,True,True,True,Proactiva CGA Iperó Landfill Gas to Energy Project,8751_PDD.pdf,São Paulo,Iperó,Brazil,-23.117569,-47.540556 +CTR Macaúbas,True,True,True,Macaúbas Landfill Gas Project,9063_PDD.pdf,Minas Gerais,Sabará,Brazil,-19.856389,-43.844444 +CTR Maceio,True,True,True,CTR Maceio Landfill Gas Project,9228_PDD.pdf,Alagoas,Maceió,Brazil,-9.561214,-35.697483 +CPTR Marituba landfill,True,True,False,CPTR Marituba landfill gas project,9298_PDD.pdf,Pará State,Marituba,Brazil,-1.396279,-48.3377 diff --git a/brazil_landfill_name_and_coords_extraction.py b/brazil_landfill_name_and_coords_extraction.py new file mode 100644 index 0000000..2565f67 --- /dev/null +++ b/brazil_landfill_name_and_coords_extraction.py @@ -0,0 +1,381 @@ +# works for a single file, yay! +import pandas as pd +from dotenv import load_dotenv +import os +from openai import OpenAI +import json + +_ = load_dotenv(r'C:\Users\andre.scheinwald\OneDrive - RMI\Documents\env files\openapi.env') + +#client = OpenAI(api_key=os.getenv('work_account_key')) +client = OpenAI(api_key=os.getenv('key')) + +assistant = client.beta.assistants.create( + name="Document Reader Assistant", + instructions="""Read the uploaded documents and answer questions about them. Do not use any outside knowledge to answer questions. + Cite what page the relevant information is on.""", + model="gpt-4o-mini", + tools=[{"type": "file_search"}], +) + +# Create a vector store called "Financial Statements" +vector_store = client.beta.vector_stores.create(name="CDM docs") + +# Ready the files for upload to OpenAI +#file_paths = [r'C:\Users\andre.scheinwald\Downloads\brazil_test.pdf'] +file_paths = [r'C:\Users\andre.scheinwald\Downloads\cdm_files\10257_PDD.pdf'] +file_streams = [open(path, "rb") for path in file_paths] + +file_paths = [] +for dirpath, dirnames, filenames in os.walk(r'C:\Users\andre.scheinwald\Downloads\cdm_files'): + for filename in filenames: + full_path = os.path.join(dirpath, filename) + file_paths.append(full_path) + +# Use the upload and poll SDK helper to upload the files, add them to the vector store, +# and poll the status of the file batch for completion. +file_batch = client.beta.vector_stores.file_batches.upload_and_poll( + vector_store_id=vector_store.id, files=file_streams +) + +# You can print the status and the file counts of the batch to see the result of this operation. +print(file_batch.status) +print(file_batch.file_counts) + +assistant = client.beta.assistants.update( + assistant_id=assistant.id, + tool_resources={"file_search": {"vector_store_ids": [vector_store.id]}}, +) + + + +# Upload the user provided file to OpenAI +for files in file_paths: + message_file = client.files.create( + file=open(files, "rb"), purpose="assistants" + ) + + # Create a thread and attach the file to the message + thread = client.beta.threads.create( + messages=[ + { + "role": "user", + "content": """Please review the attached file and answer the following questions: What is the landfill name, location (region, city, and country), coordinates, and filename of the uploaded file referenced? + Coordinates should be in decimal format with positive or negative values for cardinal direction. Return a response in JSON format. + Do not add formatting such as \n or tabs.""", + # Attach the new file to the message. + "attachments": [ + { "file_id": message_file.id, "tools": [{"type": "file_search"}] } + ], + } + ] + ) + + # The thread now has a vector store with that file in its tool resources. + print(thread.tool_resources.file_search) + + # Use the create and poll SDK helper to create a run and poll the status of + # the run until it's in a terminal state. + + run = client.beta.threads.runs.create_and_poll( + thread_id=thread.id, assistant_id=assistant.id + ) + + messages = list(client.beta.threads.messages.list(thread_id=thread.id, run_id=run.id)) + + message_content = messages[0].content[0].text + annotations = message_content.annotations + #citations = [] + for index, annotation in enumerate(annotations): + message_content.value = message_content.value.replace(annotation.text, f"[{index}]") + if file_citation := getattr(annotation, "file_citation", None): + cited_file = client.files.retrieve(file_citation.file_id) + #citations.append(f"[{index}] {cited_file.filename}") + + print(message_content.value) + #print("\n".join(citations)) + cleaned_response_str = message_content.value.replace('\n', '').replace(' ', '') + data = json.loads(cleaned_response_str) + test = [] + test.append(data) + +df = pd.json_normalize(data) + + +vector_stores = client.beta.vector_stores.list() + +for store in vector_stores.data: + vector_store_id = store.id + print(f"Deleting vector store: {store.name} (ID: {store.id})") + client.beta.vector_stores.delete(vector_store_id=vector_store_id) + + + +# this WAS working for multiple files. But once again just spits out the same results for 1 file, twice. +import pandas as pd +from dotenv import load_dotenv +import os +from openai import OpenAI +import json + +_ = load_dotenv(r'C:\Users\andre.scheinwald\OneDrive - RMI\Documents\env files\openapi.env') + +# Initialize OpenAI client +client = OpenAI(api_key=os.getenv('key')) + +assistant = client.beta.assistants.create( + name="Document Reader Assistant", + instructions="""Read the uploaded documents and answer questions about them. Do not use any outside knowledge to answer questions. + Cite what page the relevant information is on.""", + model="gpt-4o-mini", + tools=[{"type": "file_search"}], +) + +# Create a vector store called "Financial Statements" +vector_store = client.beta.vector_stores.create(name="CDM docs") + +# Specify the folder to search for files +folder_path = r'C:\Users\andre.scheinwald\Downloads\cdm_files' + +# Get the full filenames including directory info +file_paths = [] +for dirpath, dirnames, filenames in os.walk(folder_path): + for filename in filenames: + full_path = os.path.join(dirpath, filename) + file_paths.append(full_path) + +# Print the full filenames +for file_path in file_paths: + print(file_path) + +# Process files in batches +batch_size = 10 # Adjust the batch size as needed +for i in range(0, len(file_paths), batch_size): + batch_file_paths = file_paths[i:i + batch_size] + file_streams = [open(path, "rb") for path in batch_file_paths] + + # Use the upload and poll SDK helper to upload the files, add them to the vector store, + # and poll the status of the file batch for completion. + file_batch = client.beta.vector_stores.file_batches.upload_and_poll( + vector_store_id=vector_store.id, files=file_streams + ) + + # You can print the status and the file counts of the batch to see the result of this operation. + print(file_batch.status) + print(file_batch.file_counts) + + # Close the file streams after use + for stream in file_streams: + stream.close() + +assistant = client.beta.assistants.update( + assistant_id=assistant.id, + tool_resources={"file_search": {"vector_store_ids": [vector_store.id]}}, +) + +test = [] +# Upload the user provided file to OpenAI +for file_path in file_paths: + message_file = client.files.create( + file=open(file_path, "rb"), purpose="assistants" + ) + + print(f'file_path: {file_path}') + print(f'message_file_id: {message_file.id}') + + + # Create a thread and attach the file to the message + thread = client.beta.threads.create( + messages=[ + { + "role": "user", + "content": """Please review the attached file and answer the following questions: What is the landfill name, location (region, city, and country), coordinates, and filename of the uploaded file referenced? + Coordinates should be in decimal format with positive or negative values for cardinal direction. Return a response in JSON format. + Do not add formatting such as \n or tabs.""", + # Attach the new file to the message. + "attachments": [ + { "file_id": message_file.id, "tools": [{"type": "file_search"}] } + ], + } + ] + ) + + # The thread now has a vector store with that file in its tool resources. + print(thread.tool_resources.file_search) + + # Use the create and poll SDK helper to create a run and poll the status of + # the run until it's in a terminal state. + + run = client.beta.threads.runs.create_and_poll( + thread_id=thread.id, assistant_id=assistant.id + ) + + messages = list(client.beta.threads.messages.list(thread_id=thread.id, run_id=run.id)) + + message_content = messages[0].content[0].text + annotations = message_content.annotations + + for index, annotation in enumerate(annotations): + message_content.value = message_content.value.replace(annotation.text, f"[{index}]") + if file_citation := getattr(annotation, "file_citation", None): + cited_file = client.files.retrieve(file_citation.file_id) + + print(message_content.value) + + cleaned_response_str = message_content.value.replace('\n', '').replace(' ', '') + data = json.loads(cleaned_response_str) + test.append(data) + +df = pd.json_normalize(test) + +# List and delete all vector stores +vector_stores = client.beta.vector_stores.list() + +for store in vector_stores.data: + vector_store_id = store.id + print(f"Deleting vector store: {store.name} (ID: {store.id})") + client.beta.vector_stores.delete(vector_store_id=vector_store_id) + + + + +# this WAS working for multiple files. But once again just spits out the same results for 1 file, twice. +import pandas as pd +from dotenv import load_dotenv +import os +from openai import OpenAI +import json + +_ = load_dotenv(r'C:\Users\andre.scheinwald\OneDrive - RMI\Documents\env files\openapi.env') + +# Initialize OpenAI client +client = OpenAI(api_key=os.getenv('key')) + +assistant = client.beta.assistants.create( + name="Document Reader Assistant", + instructions="""Read the uploaded documents and answer questions about them. Do not use any outside knowledge to answer questions. + Cite what page the relevant information is on.""", + model="gpt-4o-mini", + tools=[{"type": "file_search"}], +) + +# Create a vector store called "Financial Statements" +#vector_store = client.beta.vector_stores.create(name="CDM docs") + +# Specify the folder to search for files +#folder_path = r'C:\Users\andre.scheinwald\Downloads\cdm_files' +folder_path = r'C:\Users\andre.scheinwald\OneDrive - RMI\Documents\Python Scripts\cdm_scraping\downloads' + +# Get the full filenames including directory info +file_paths = [] +for dirpath, dirnames, filenames in os.walk(folder_path): + for filename in filenames: + full_path = os.path.join(dirpath, filename) + file_paths.append(full_path) + +# Print the full filenames +for file_path in file_paths: + print(file_path) + +test = [] +errors = [] +# Upload the user provided file to OpenAI +for file_path in file_paths: + message_file = client.files.create( + file=open(file_path, "rb"), purpose="assistants" + ) + + print(f'file_path: {file_path}') + print(f'message_file_id: {message_file.id}') + + + # Create a thread and attach the file to the message + thread = client.beta.threads.create( + messages=[ + { + "role": "user", + "content": """Please review all files and answer the following questions for every single file: What is the landfill name, location (region, city, and country), + gas_capture (True or False), gas_flare (True or False), gas_to_energy_project (True or False, coordinates, project title, and filename of the uploaded file referenced? + Coordinates should be in decimal format with positive or negative values for cardinal direction. Return a response in JSON format. + Do not add formatting such as \n or tabs. Name each json response 'landfills'. Do not use any other name. + Do not include any text outside the json response. This includes coding markup. + The format should look like this: {'landfills': [{'landfill_name': 'Dois Arcos Landfill', + 'location': {'region': 'Rio de Janeiro State', + 'city': 'São Pedro da Aldeia', + 'country': 'Brazil'}, + 'gas_capture': True, + 'gas_flare': True, + 'gas_to_energy_project': True, + 'coordinates': {'latitude': -22.82601389, 'longitude': -42.05100556}, + 'project_title': 'Dois Arcos Landfill Gas Project Activity', + 'filename': '10257_PDD.pdf'}]}""", + # Attach the new file to the message. + "attachments": [ + { "file_id": message_file.id, "tools": [{"type": "file_search"}] } + ], + } + ] + ) + + # The thread now has a vector store with that file in its tool resources. + print(thread.tool_resources.file_search) + + # Use the create and poll SDK helper to create a run and poll the status of + # the run until it's in a terminal state. + + run = client.beta.threads.runs.create_and_poll( + thread_id=thread.id, assistant_id=assistant.id + ) + + messages = list(client.beta.threads.messages.list(thread_id=thread.id, run_id=run.id)) + + message_content = messages[0].content[0].text + annotations = message_content.annotations + + for index, annotation in enumerate(annotations): + message_content.value = message_content.value.replace(annotation.text, f"[{index}]") + if file_citation := getattr(annotation, "file_citation", None): + cited_file = client.files.retrieve(file_citation.file_id) + + print(message_content.value) + + cleaned_response_str = message_content.value.replace('\n', '').replace(' ', '').replace('json', '').replace("```", "") + + try: + data = json.loads(cleaned_response_str) + test.append(data) + except json.JSONDecodeError as e: + print(f"JSONDecodeError: {e}") + print(f"Problematic JSON string: {cleaned_response_str}") + errors.append(cleaned_response_str) + +# Ensure 'landfills' is always a list in the 'test' list +for entry in test: + if 'landfills' in entry and isinstance(entry['landfills'], dict): + entry['landfills'] = [entry['landfills']] + + +df = pd.json_normalize(test, record_path = 'landfills') + +fixed_errors = [] +for entry in errors: + # Replace single quotes with double quotes and fix boolean values + entry = entry.replace("'", '"').replace('True', 'true').replace('False', 'false') + fixed_entries = json.loads(entry) + fixed_errors.append(fixed_entries) + +df2 = pd.json_normalize(fixed_errors, record_path='landfills') + +df3 = pd.concat([df, df2], ignore_index=True) + +df3.to_csv(r'C:\Users\andre.scheinwald\OneDrive - RMI\Documents\Python Scripts\cdm_scraping\brazil_landfill_name_and_coords_extraction.csv', index=False) + +# List and delete all vector stores +vector_stores = client.beta.vector_stores.list() + +while vector_stores.has_more: + for store in vector_stores.data: + vector_store_id = store.id + print(f"Deleting vector store: {store.name} (ID: {store.id})") + client.beta.vector_stores.delete(vector_store_id=vector_store_id) + vector_stores = client.beta.vector_stores.list() \ No newline at end of file diff --git a/brazil_landfill_name_and_coords_extraction.xlsx b/brazil_landfill_name_and_coords_extraction.xlsx new file mode 100644 index 0000000..c7854f9 Binary files /dev/null and b/brazil_landfill_name_and_coords_extraction.xlsx differ diff --git a/brazil_landfill_name_and_coords_extraction_with_accents.csv b/brazil_landfill_name_and_coords_extraction_with_accents.csv new file mode 100644 index 0000000..ffb8a61 --- /dev/null +++ b/brazil_landfill_name_and_coords_extraction_with_accents.csv @@ -0,0 +1,53 @@ +landfill_name,gas_capture,gas_flare,gas_to_energy_project,project_title,filename,location.region,location.city,location.country,coordinates.latitude,coordinates.longitude,cant_validate_data +Dois Arcos Landfill,TRUE,TRUE,TRUE,Dois Arcos Landfill Gas Project Activity,10257_PDD.pdf,Rio de Janeiro,São Pedro da Aldeia,Brazil,-22.82601389,-42.05100556,FALSE +Oeste de Caucaia Landfill,TRUE,TRUE,TRUE,Oeste de Caucaia Landfill Project Activity,10261_PDD.pdf,Ceará,Caucaia,Brazil,-3.78847222,-38.67357222,FALSE +CGR Piaçaguera,TRUE,TRUE,FALSE,Terrestre Ambiental Landfill Gás Project,1133_PDD.pdf,São Paulo,Santos,Brazil,-23.885835,-46.312335,FALSE +ESTRE Pedreira Landfill,TRUE,TRUE,TRUE,1134 ESTRE Pedreira Landfill Gás Project (EPLGP),1134_PDD.pdf,São Paulo,Iracemápolis,Brazil,-23.114376,-47.551041,TRUE +João Pessoa Landfill,TRUE,TRUE,TRUE,1165 PROBIOGAS-JP – João Pessoa Landfill Gas Project,1165_PDD.pdf,Paraíba,João Pessoa,Brazil,-7.115125,-34.8631,TRUE +Bragança landfill,TRUE,TRUE,FALSE,Embralixo/Araúna – Bragança Landfill Gas Project,1179_PDD.pdf,São Paulo,Bragança Paulista,Brazil,-23.2475,-45.8675,FALSE +URBAM landfill,TRUE,TRUE,FALSE,URBAM/ARAUNA – Landfill Gas Project (UALGP),1247_PDD.pdf,São Paulo,São José dos Campos,Brazil,-23.2475,-45.8675,FALSE +MARCA Landfill,TRUE,TRUE,TRUE,Brazil MARCA Landfill Gas to Energy Project,137_PDD.pdf,Espírito Santo,Cariacica,Brazil,,,TRUE +Aterro Vila Velha,TRUE,TRUE,FALSE,CTRVV Landfill emission reduction project,1491_PDD.pdf,Espírito Santo,Vila Velha,Brazil,-20.4567,-40.3911,FALSE +Feira de Santana Landfill,TRUE,TRUE,TRUE,Feira de Santana Landfill Gas Project,1626_PDD.pdf,Bahia,Feira de Santana,Brazil,-12.246944,-38.9975,FALSE +Alto-Tietê landfill,TRUE,TRUE,FALSE,Alto-Tietê landfill gas capture project,1636_PDD.pdf,São Paulo,Itaquaquecetuba,Brazil,-23.433333,-46.291667,FALSE +Bandeirantes Landfill,TRUE,TRUE,TRUE,Bandeirantes Landfill Gas to Energy Project (BLFGE),164_PDD.pdf,São Paulo,São Paulo,Brazil,-23.4161289,-46.7622611,FALSE +CGR Paulínia Landfill,TRUE,TRUE,FALSE,ESTRE’s Paulínia Landfill Gas Project (EPLGP),165_PDD.pdf,São Paulo,Paulínia,Brazil,-22.773506,-47.196161,FALSE +Caieiras Landfill,TRUE,TRUE,TRUE,Caieiras landfill gas emission reduction,171_PDD.pdf,São Paulo,Caieiras,Brazil,-23.4319509,-46.5422455,FALSE +SANTEC Resíduos landfill,TRUE,TRUE,FALSE,SANTEC Resíduos landfill gas emission reduction Project Activity,1908_PDD.pdf,Santa Catarina,Içara,Brazil,-28.78983333,-49.32866667,FALSE +Anaconda Ambiental Sanitary Landfill,TRUE,TRUE,FALSE,Anaconda Landfill Gas Project,226_PDD.pdf,São Paulo,Santa Isabel,Brazil,,,TRUE +SASA Landfill,TRUE,TRUE,FALSE,Onyx Landfill Gas Recovery Project,27_PDD.pdf,São Paulo,Tremembé,Brazil,,,TRUE +CTRS / BR.040 Landfill,TRUE,TRUE,TRUE,Exploitation of the biogas from Controlled Landfill in Solid Waste Management Central – CTRS / BR.040,3464_PDD.pdf,Minas Gerais,Belo Horizonte,Brazil,-19.93258333,-44.01808333,FALSE +São João Landfill,TRUE,TRUE,TRUE,0373 São João Landfill Gas to Energy Project (SJ),373_PDD.pdf,São Paulo,São João da Boa Vista,Brazil,-21.971982,-46.728277,TRUE +CTR Candeias,TRUE,TRUE,TRUE,CTR Candeias Landfill Gas Project,3958_PDD.pdf,Pernambuco,Jaboatão dos Guararapes,Brazil,-8.164258,-34.985286,FALSE +Itaoca Landfill,TRUE,TRUE,FALSE,Itaoca Landfill Gas Project,4657_PDD.pdf,Rio de Janeiro,São Gonçalo,Brazil,-22.775,-43.373,FALSE +Aterro Metropolitano Central,TRUE,TRUE,TRUE,Salvador da Bahia Landfill Gas Management Project,52_PDD.pdf,Bahia,Lauro de Freitas,Brazil,-12.8625,-38.3636,FALSE +CTL Landfill,TRUE,TRUE,TRUE,CTL Landfill Gas Project,5947_PDD.pdf,São Paulo,São Paulo,Brazil,-23.5505,-46.6333,FALSE +Central de Resíduos do Recreio Landfill,TRUE,TRUE,TRUE,Central de Resíduos do Recreio Landfill Gas Project (CRRLGP),648_PDD.pdf,Recreio dos Bandeirantes,Rio de Janeiro,Brazil,-22.922006,-43.53351,TRUE +CGR Guatapará landfill,TRUE,TRUE,TRUE,CGR Guatapara Landfill Project,6553_PDD.pdf,São Paulo,Guatapará,Brazil,-21.395833,-47.955,FALSE +Uberlândia landfill I and II,TRUE,TRUE,TRUE,Uberlândia Landfills I and II Gas to Energy Project,7110_PDD.pdf,Minas Gerais,Uberlândia,Brazil,-18.878361,-48.318583,FALSE +Natal Landfill,TRUE,TRUE,TRUE,Natal Landfill Gas to Energy Project,7637_PDD.pdf,Rio Grande do Norte,Ceará-Mirim,Brazil,-5.711788,-35.382797,FALSE +Ventura Landfill,TRUE,TRUE,TRUE,Projeto de Gás de Aterro TECIPAR – PROGAT,7799_PDD.pdf,São Paulo,Santana de Parnaíba,Brazil,-23.416711,-46.959638,FALSE +UTGR – Jambeiro,TRUE,TRUE,FALSE,ENGEP & BEGREEN CDM Project at UTGR – Jambeiro Landfill,8011_PDD.pdf,São Paulo,Jambeiro,Brazil,-23.273889,-45.752222,FALSE +CGR Catanduva,TRUE,TRUE,TRUE,CGR Catanduva Landfill Gas Project,8205_PDD.pdf,São Paulo,Catanduva,Brazil,-21.123247,-48.928236,FALSE +CGR Piratininga,TRUE,TRUE,TRUE,ESTRE Piratininga Landfill Gas Project,8213_PDD.pdf,São Paulo,Piratininga,Brazil,-22.371667,-49.170278,FALSE +CTR Rosario Landfill,TRUE,TRUE,TRUE,8242 CTR Rosario Landfill Gas Project,8242_PDD.pdf,Córdoba Province,Córdoba,Argentina,-31.4201,-64.1888,TRUE +Onda Verde Landfill,TRUE,TRUE,TRUE,Constroeste Landfill Gas to Energy Project,8603_PDD.pdf,São Paulo,Onda Verde,Brazil,-20.6172405,-49.33414936,FALSE +Proactiva CGA Iperó Landfill,TRUE,TRUE,TRUE,Proactiva CGA Iperó Landfill Gas to Energy Project,8751_PDD.pdf,São Paulo,Iperó,Brazil,-23.117569,-47.540556,TRUE +Aurá Landfill,TRUE,TRUE,FALSE,Aurá Landfill Gas Project,888_PDD.pdf,Pará,Belém,Brazil,,,FALSE +Canabrava Landfill,TRUE,TRUE,FALSE,Canabrava Landfill Gas Project,893_PDD.pdf,Bahia,Salvador,Brazil,,,FALSE +CTR Macaúbas,TRUE,TRUE,TRUE,Macaúbas Landfill Gas Project,9063_PDD.pdf,Minas Gerais,Sabará,Brazil,-19.856389,-43.844444,FALSE +Gramacho Landfill,TRUE,TRUE,TRUE,Gramacho Landfill Gas Project,9087_PDD.pdf,Rio de Janeiro,Duque de Caxias,Brazil,-22.746111,-43.260278,FALSE +Lara Landfill,TRUE,TRUE,TRUE,"Landfill Gas to Energy Project at Lara Landfill, Mauá, Brazil",91_PDD.pdf,São Paulo,Mauá,Brazil,-23.705014,-46.474225,FALSE +Estre Itapevi Landfill,TRUE,TRUE,TRUE,0911: ESTRE Itapevi Landfill Gas Project (EILGP),911_PDD.pdf,São Paulo,Itapevi,Brazil,-23.401961,-47.025269,TRUE +Quitaúna Landfill,TRUE,TRUE,FALSE,Quitaúna Landfill Gas Project (QLGP),912_PDD.pdf,São Paulo,Guarulhos,Brazil,-23.41289167,-46.55770833,FALSE +CTR Maceio,TRUE,TRUE,TRUE,CTR Maceio Landfill Gas Project,9228_PDD.pdf,Alagoas,Maceió,Brazil,-9.561214,-35.697483,FALSE +ITVR São Leopoldo,TRUE,TRUE,FALSE,ITVR Sao Leopoldo landfill gas project,9290_PDD.pdf,Rio Grande do Sul,São Leopoldo,Brazil,-29.7461,-51.1966,FALSE +CTDR Bob Ambiental,TRUE,TRUE,FALSE,CTDR Bob Ambiental landfill gas project,9295_PDD.pdf,Rio de Janeiro,Belford Roxo,Brazil,-22.7011805,-43.3888194,FALSE +CPTR Marituba landfill,TRUE,TRUE,FALSE,CPTR Marituba landfill gas project,9298_PDD.pdf,Pará,Marituba,Brazil,-1.396279,-48.3377,FALSE +Rio Grande landfill,TRUE,TRUE,FALSE,Rio Grande landfill gas project,9300_PDD.pdf,Rio Grande do Sul,Rio Grande,Brazil,-32.0288888,-52.2911111,FALSE +CTR da Caturrita landfill,TRUE,TRUE,FALSE,CTR da Caturrita landfill gas project,9302_PDD.pdf,Rio Grande do Sul,Santa Maria,Brazil,-29.6558,-53.8661,FALSE +Canhanduba Landfill,TRUE,TRUE,TRUE,Canhanduba Landfill Project,9943_PDD.pdf,Santa Catarina,Joinville,Brazil,-26.301271,-48.799136,TRUE +Marambaia dump site,TRUE,TRUE,TRUE,Brazil NovaGerar Landfill Gas to Energy Project,8_PDD.pdf,Rio de Janeiro,Nova Iguaçu,Brazil,-22.666667,-43.466667,FALSE +drianópolis sanitary landfill,TRUE,TRUE,TRUE,Brazil NovaGerar Landfill Gas to Energy Project,8_PDD.pdf,Rio de Janeiro,Nova Iguaçu,Brazil,-22.666667,-43.466667,FALSE +Tijuquinhas landfill,TRUE,TRUE,FALSE,Proactiva Tijuquinhas Landfill Gas Capture and Flaring project,1506_PDD.pdf, Santa Catarina,Biguaçu,Brazil,-27.3609,-48.6375,FALSE +Manaus Landfill (Aterro Municipal de Manau),TRUE,TRUE,TRUE,Manaus Landfill Gas Project,4211_PDD.pdf,Amazonas,Manaus,Brazil,?2.95831,?60.01521,FALSE